Any person who violates any provision of this chapter or who shall fail to comply with any order or inspection report within the time limit shall be, upon conviction, guilty of a misdemeanor and punished by a fine of not more than $500 or by imprisonment for not more than 30 days, and each day shall constitute a separate offense.