Library in Casablanca

Is there any library that stays open 24/7 in Casablanca? I would really prefer to spend the night in a library instead of a small salon shared with roommates