All residential buildings up to three stories high will have to be built with solar installations starting in 2020, which the commission says would contribute to adding $9,500 to the average cost of building a home.