Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 191.5 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.934/2.934, allocations: 495.8 MB / 0.783 GB, free: 12.26 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad")
translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 64.08 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9869/0.989, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002096/0.9911, allocations: 1.239 MB / 1.308 GB, free: 32.86 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001748/0.9928, allocations: 1.354 MB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.9928, allocations: 6.875 kB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.9929, allocations: 0 / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.9935, allocations: 214.5 kB / 1.309 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 9.632e-05/0.9936, allocations: 30.33 kB / 1.31 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.9936, allocations: 16.66 kB / 1.31 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.9937, allocations: 0 / 1.31 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.9937, allocations: 9.953 kB / 1.31 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.2454/1.239, allocations: 31.07 MB / 1.34 GB, free: 17.19 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.282e-05/1.239, allocations: 4 kB / 1.34 GB, free: 17.18 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/1.239, allocations: 1.188 kB / 1.34 GB, free: 17.18 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.105e-05/1.239, allocations: 1.062 kB / 1.34 GB, free: 17.18 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 4.038e-05/1.239, allocations: 17.52 kB / 1.34 GB, free: 17.17 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001427/1.239, allocations: 4.531 kB / 1.34 GB, free: 17.17 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.239, allocations: 1.062 kB / 1.34 GB, free: 17.17 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.894e-06/1.239, allocations: 0 / 1.34 GB, free: 17.17 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.304e-06/1.239, allocations: 0 / 1.34 GB, free: 17.17 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0002914/1.24, allocations: 241.5 kB / 1.34 GB, free: 16.92 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.24, allocations: 8.844 kB / 1.34 GB, free: 16.92 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/1.24, allocations: 89.77 kB / 1.34 GB, free: 16.84 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/1.24, allocations: 187.3 kB / 1.34 GB, free: 16.63 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/1.24, allocations: 152 kB / 1.341 GB, free: 16.48 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/1.24, allocations: 150.9 kB / 1.341 GB, free: 16.33 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 6.046e-05/1.24, allocations: 110.1 kB / 1.341 GB, free: 16.22 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.24, allocations: 83.28 kB / 1.341 GB, free: 16.14 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/1.24, allocations: 151.7 kB / 1.341 GB, free: 15.99 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/1.24, allocations: 150.6 kB / 1.341 GB, free: 15.84 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/1.24, allocations: 151.6 kB / 1.341 GB, free: 15.69 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/1.24, allocations: 423 kB / 1.342 GB, free: 15.24 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/1.24, allocations: 174.1 kB / 1.342 GB, free: 15.06 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/1.24, allocations: 85.31 kB / 1.342 GB, free: 14.98 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/1.24, allocations: 79.22 kB / 1.342 GB, free: 14.9 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.24, allocations: 110.9 kB / 1.342 GB, free: 14.78 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 8.02e-07/1.24, allocations: 0 / 1.342 GB, free: 14.78 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 7.394e-05/1.241, allocations: 31.95 kB / 1.342 GB, free: 14.75 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.241, allocations: 216.1 kB / 1.342 GB, free: 14.51 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/1.241, allocations: 93.17 kB / 1.342 GB, free: 14.41 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.014e-05/1.241, allocations: 26.52 kB / 1.342 GB, free: 14.38 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/1.241, allocations: 85.89 kB / 1.343 GB, free: 14.29 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/1.241, allocations: 0 / 1.343 GB, free: 14.29 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/1.241, allocations: 17.33 kB / 1.343 GB, free: 14.28 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.494e-05/1.241, allocations: 310.8 kB / 1.343 GB, free: 13.96 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-06/1.241, allocations: 5.062 kB / 1.343 GB, free: 13.96 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/1.241, allocations: 17.86 kB / 1.343 GB, free: 13.94 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 1.524e-05/1.241, allocations: 75.28 kB / 1.343 GB, free: 13.86 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.241, allocations: 76.41 kB / 1.343 GB, free: 13.79 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.38e-05/1.241, allocations: 40.36 kB / 1.343 GB, free: 13.75 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.241, allocations: 79.88 kB / 1.343 GB, free: 13.68 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.241, allocations: 80.28 kB / 1.343 GB, free: 13.6 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/1.241, allocations: 163.8 kB / 1.343 GB, free: 13.44 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-05/1.241, allocations: 80.34 kB / 1.343 GB, free: 13.36 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/1.241, allocations: 151.6 kB / 1.344 GB, free: 13.21 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.241, allocations: 80.75 kB / 1.344 GB, free: 13.14 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.241, allocations: 80.59 kB / 1.344 GB, free: 13.06 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/1.241, allocations: 270.5 kB / 1.344 GB, free: 12.79 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/1.241, allocations: 107.5 kB / 1.344 GB, free: 12.68 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/1.241, allocations: 112.4 kB / 1.344 GB, free: 12.56 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/1.241, allocations: 177.4 kB / 1.344 GB, free: 12.38 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/1.241, allocations: 181.3 kB / 1.345 GB, free: 12.2 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/1.241, allocations: 181.3 kB / 1.345 GB, free: 12.02 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/1.242, allocations: 378.4 kB / 1.345 GB, free: 11.6 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.242, allocations: 106.3 kB / 1.345 GB, free: 11.49 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/1.242, allocations: 112.1 kB / 1.345 GB, free: 11.38 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/1.242, allocations: 181.5 kB / 1.346 GB, free: 11.2 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/1.242, allocations: 181.4 kB / 1.346 GB, free: 11.01 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.75e-05/1.242, allocations: 181 kB / 1.346 GB, free: 10.83 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.818e-05/1.242, allocations: 189.1 kB / 1.346 GB, free: 10.64 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.598e-05/1.242, allocations: 304.6 kB / 1.346 GB, free: 10.32 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/1.242, allocations: 110 kB / 1.346 GB, free: 10.21 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/1.242, allocations: 182 kB / 1.347 GB, free: 10.03 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/1.242, allocations: 108 kB / 1.347 GB, free: 9.922 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/1.242, allocations: 187.6 kB / 1.347 GB, free: 9.734 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/1.242, allocations: 106.6 kB / 1.347 GB, free: 9.625 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.134e-05/1.242, allocations: 81.84 kB / 1.347 GB, free: 9.547 MB / 1.061 GB
Notification: Performance of sort global known variables: time 5e-08/1.242, allocations: 0 / 1.347 GB, free: 9.547 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0006439/1.243, allocations: 3.312 kB / 1.347 GB, free: 9.547 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/1.243, allocations: 173.3 kB / 1.347 GB, free: 9.379 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 5.361e-05/1.243, allocations: 4.75 kB / 1.347 GB, free: 9.379 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.243, allocations: 1.25 kB / 1.347 GB, free: 9.379 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.243, allocations: 0 / 1.347 GB, free: 9.379 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/1.243, allocations: 458.7 kB / 1.348 GB, free: 8.93 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/1.243, allocations: 170.5 kB / 1.348 GB, free: 8.746 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/1.243, allocations: 0.6735 MB / 1.348 GB, free: 8.051 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 3.033e-05/1.244, allocations: 3.375 kB / 1.348 GB, free: 8.051 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/1.244, allocations: 8.531 kB / 1.349 GB, free: 8.043 MB / 1.061 GB
Notification: Performance of SimCode: time 5.51e-07/1.244, allocations: 0 / 1.349 GB, free: 8.043 MB / 1.061 GB
Notification: Performance of Templates: time 0.004529/1.248, allocations: 0.4895 MB / 1.349 GB, free: 7.965 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.715025862678885]