davinci.test_davinci_initialise_upgrade fails intermittently on master

An example failure is here

The stated reason is the cryptic diff in the output:

- DaVinciInitAlg....SUCCESS Exceptions/Errors/Warnings/Infos Statistics : 0/0/2/0
?                                                                             ^
+ DaVinciInitAlg....SUCCESS Exceptions/Errors/Warnings/Infos Statistics : 0/0/1/0
?                                                                             ^

Comparing the stdout with a successful test, one sees

@@ -81,8 +81,8 @@ EventSelector     SUCCESS Reading Event record 1. Record number within stream 1:
 SimpleHistos         INFO GaudiHistoAlgorithm:: Filling Histograms...... Please be patient !
 DaVinciInitAlg....   INFO Number of counters : 2
  |    Counter                                      |     #     |    sum     | mean/eff^* | rms/err^*  |     min     |     max     |
- | "Delta Memory/MB"                               |        91 |      8.844 |   0.097187 |      0.922 |      0.0000 |      8.8440 |
- | "Total Memory/MB"                               |       100 |   128602.2 |     1286.0 |     4.4220 |      1281.6 |      1290.4 |
+ | "Delta Memory/MB"                               |        91 |      74.38 |    0.81736 |     6.8840 |      0.0000 |      65.536 |
+ | "Total Memory/MB"                               |       100 |   134041.7 |     1340.4 |     26.909 |      1281.6 |      1356.0 |
 ApplicationMgr       INFO Application Manager Stopped successfully
 DaVinciInitAlg    SUCCESS ==================================================================
 DaVinciInitAlg    SUCCESS 100 events processed
@@ -154,48 +154,48 @@ Good Bye Good Bye Good Bye Good Bye Good Bye Good Bye Good Bye Good Bye Good Bye
 RootCnvSvc           INFO Disconnected data IO:78EE999C-C18E-E811-ACBF-02163E01648B [root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LD>
 ToolSvc              INFO Removing all tools created by ToolSvc
 DaVinciInitAlg....SUCCESS Booked 4 Histogram(s) : 1D=4 
-DaVinciInitAlg....SUCCESS Exceptions/Errors/Warnings/Infos Statistics : 0/0/2/0
-DaVinciInitAlg....SUCCESS  #WARNINGS   = 1        Message = 'Delta Memory for the event exceeds 3*sigma'
-DaVinciInitAlg....SUCCESS  #WARNINGS   = 5        Message = 'Total Memory for the event exceeds 3*sigma'
+DaVinciInitAlg....SUCCESS Exceptions/Errors/Warnings/Infos Statistics : 0/0/1/0
+DaVinciInitAlg....SUCCESS  #WARNINGS   = 1        Message = 'Total Memory for the event exceeds 3*sigma'

I think an appropriate short term fix here (besides understanding the WARNINGs) is to suppress the line

DaVinciInitAlg....SUCCESS Exceptions/Errors/Warnings/Infos Statistics :

by amending DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py appropriately.

Edited by Rosen Matev