Right - OK....
As per the below, there doesn't appear to be any relays that would be clicking in the circuits - so what you can hear clicking I am not sure, unless there are relays inside the BCU (Body Control Unit).
The Drivers Switch pack for the drivers front window is hardwired directly to the Drivers Front door window motor, the Drivers switches for the other windows go via the P Data Bus (Peripheral Bus) to the BCU to open the other windows.
The Pax side individual switch is hardwired to the Pax window motor. The Drivers Switch Pack switch for the Pax side tells the BCU to activate the Pax window motor via the P Data Bus.
The Rear individual switches are hardwired to the BCU and not to the window motors directly....the switches instruct the BCU to open/close the window. The BCU is then Hardwired to the Rear Window Motors.
The Drivers Switch Pack for the Rear Windows goes down to the BCU via the P Data Bus and instructs the BCU to power the windows.....
I hope that makes sense - as below:
Now, what to do......I would probably first suggest taking to somewhere decent diagnostics that can control the windows via diagnostics (like a Faultmate or Testbook) to see if the BCU when given a signal directly can indeed open/close the windows.
You have checked the motors work, which is grand, but what controls the motors is the BCU - so we need to ensure the BCU is 1) Getting the Open/Close signal and 2) Sending Power to the Motors.
The fact that neither the Drivers Switch Pack nor the Individual Door switches seem to open/close the windows, I would consider it to be an issue with the BCU - Diagnostics will help on this.
Now, a simple quick test......Lock the car, now unlock the car but keep your finger on the unlock button - the windows and sunroof should open.....if the rears also open, the BCU is operating the windows fine, and it could be the signal from the switch packs that is at fault (doubtful, as the Drivers Switch Pack and the door switches use differing routes.....) if they do not open, then I would be investigating the BCU.
Now, to close the windows, close all the doors, and press the lock button on the fob and hold it down, the windows and sunroof should now all close.