Hi!
"Except for the discontinuities": I assume plumed file is continuous and gromacs one has jumps. This is expected, it is an effect of WHOLEMOLECULES. You can check if everything is correct doing:
DUMPATOMS ATOMS=1-326 FILE=tests.gro
after the WHOLEMOLECULES command. This will produce a gro file with whole molecules. If you use gromacs tools on that the result should be identical to the one given by PLUMED.
Notice that if the whole molecule jumps across PBC there is no problem. The problem is when the molecule is broken (half in one part of the box, half in another part).
Ciao!
Giovanni