Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001623/0.001623, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001639/0.001639, allocations: 186.3 kB / 22.22 MB, free: 5.105 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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 3.364/3.364, allocations: 496 MB / 0.7835 GB, free: 33.6 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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 62.58 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4701, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002536/0.4726, allocations: 0.6762 MB / 1.308 GB, free: 1.102 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0002348/0.4729, allocations: 7.984 kB / 1.308 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.4729, allocations: 0 / 1.308 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.4731, allocations: 7.922 kB / 1.308 GB, free: 1.086 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.4732, allocations: 4 kB / 1.308 GB, free: 1.082 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.4733, allocations: 4 kB / 1.308 GB, free: 1.078 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001483/0.4734, allocations: 39.8 kB / 1.308 GB, free: 1.039 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.4736, allocations: 15.98 kB / 1.308 GB, free: 1.023 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.4737, allocations: 11.94 kB / 1.308 GB, free: 1.012 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.4737, allocations: 15.92 kB / 1.308 GB, free: 0.9961 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.4738, allocations: 4 kB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.4738, allocations: 4 kB / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.4738, allocations: 11.94 kB / 1.308 GB, free: 0.9766 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.4739, allocations: 23.84 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.474, allocations: 39.83 kB / 1.308 GB, free: 0.9141 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.474, allocations: 0 / 1.308 GB, free: 0.9141 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.966e-06/0.474, allocations: 7.938 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 7.874e-06/0.474, allocations: 4 kB / 1.308 GB, free: 0.9023 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0005061/0.4745, allocations: 274.2 kB / 1.308 GB, free: 0.6016 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4746, allocations: 12.03 kB / 1.308 GB, free: 0.5898 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.4746, allocations: 12.89 kB / 1.308 GB, free: 0.5781 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.4749, allocations: 122.5 kB / 1.309 GB, free: 444 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4749, allocations: 384 / 1.309 GB, free: 444 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.4749, allocations: 8.375 kB / 1.309 GB, free: 436 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.4751, allocations: 74.22 kB / 1.309 GB, free: 356 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4751, allocations: 8.188 kB / 1.309 GB, free: 348 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4752, allocations: 3.938 kB / 1.309 GB, free: 344 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4752, allocations: 0 / 1.309 GB, free: 344 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.58e-05/0.4753, allocations: 51.91 kB / 1.309 GB, free: 292 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.476, allocations: 462.6 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.4761, allocations: 169.1 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.4761, allocations: 88.14 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.4761, allocations: 75.28 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.44e-05/0.4762, allocations: 105.8 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 3.507e-06/0.4762, allocations: 3.984 kB / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.00011/0.4763, allocations: 37.59 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4765, allocations: 130.7 kB / 1.31 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.4767, allocations: 184.8 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4767, allocations: 25.7 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.4768, allocations: 92.14 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.4768, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.4768, allocations: 21.7 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001839/0.477, allocations: 310.8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.477, allocations: 11.98 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.4771, allocations: 4 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.4771, allocations: 24.91 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4771, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001717/0.4773, allocations: 53.58 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4773, allocations: 11.94 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4773, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4773, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.4774, allocations: 7.984 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4774, allocations: 3.938 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.4775, allocations: 11.89 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4775, allocations: 4.031 kB / 1.31 GB, free: 14.36 MB / 1.014 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 (1):
 * Single equations (assignments): 1
 * 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 0.0001702/0.4776, allocations: 201 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.4777, allocations: 101 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.4778, allocations: 112.7 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.4779, allocations: 176.3 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/0.478, allocations: 188.2 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.485e-05/0.4781, allocations: 188.2 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.4784, allocations: 384.3 kB / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.487e-05/0.4785, allocations: 109 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.4786, allocations: 108.9 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.4787, allocations: 180.2 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.242e-05/0.4788, allocations: 184.2 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.154e-05/0.4788, allocations: 180.3 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001037/0.4789, allocations: 188.1 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.4792, allocations: 315.7 kB / 1.313 GB, free: 11.63 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.4792, allocations: 112.9 kB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.4794, allocations: 180.3 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4795, allocations: 109.2 kB / 1.313 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.4796, allocations: 184.2 kB / 1.314 GB, free: 11.03 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.4796, allocations: 108.9 kB / 1.314 GB, free: 10.92 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001177/0.4798, allocations: 131.2 kB / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4798, allocations: 0 / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002639/0.48, allocations: 8 kB / 1.314 GB, free: 10.78 MB / 1.014 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.0002627/0.4803, allocations: 171.3 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001177/0.4804, allocations: 8.047 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4804, allocations: 0 / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.4804, allocations: 0 / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.4812, allocations: 469.9 kB / 1.314 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.4817, allocations: 224 kB / 1.315 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.4822, allocations: 0.6885 MB / 1.315 GB, free: 9.176 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.776e-05/0.4823, allocations: 4 kB / 1.315 GB, free: 9.172 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.4823, allocations: 11.44 kB / 1.315 GB, free: 9.16 MB / 1.014 GB
Notification: Performance of SimCode: time 7.72e-07/0.4823, allocations: 0 / 1.315 GB, free: 9.16 MB / 1.014 GB
Notification: Performance of Templates: time 0.004015/0.4863, allocations: 486.4 kB / 1.316 GB, free: 8.691 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.534984241239727]