It shall be a civil offense for any person to violate or fail to comply with any provision of the energy code as herein adopted by reference and modified. The violation of any section of this chapter shall be punishable by a penalty under the general penalty provision of this code. Each day a violation is allowed to continue shall constitute a separate offense.