Backport of #6030. Add features offline validation for72 x

In offline validation: two bugfixes and lots of improvements to automatize
plotting.