Hidden Sp(2s + 1)- or SO(2s + 1)-symmetry and new exactly solvable models in ultracold atomic systems