New facility, NSF grant advance smart building technology