A failure to comply with the order of the court shall subject the person against whom the order is made to punishment the same as in ordinary contempt cases.