Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.00165/0.00165, 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.001722/0.001722, allocations: 191 kB / 22.11 MB, free: 4.336 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.523/1.523, allocations: 225.6 MB / 250.8 MB, free: 2.914 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.915/2.915, allocations: 495.8 MB / 0.7831 GB, free: 12.32 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff")
translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003353/0.003353, allocations: 63.89 kB / 1.137 GB, free: 12.25 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8511, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001791/0.8529, allocations: 0.8278 MB / 1.308 GB, free: 33.24 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00103/0.8539, allocations: 1.162 MB / 1.309 GB, free: 32.39 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.854, allocations: 0 / 1.309 GB, free: 32.39 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.854, allocations: 7.875 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.8541, allocations: 17.92 kB / 1.309 GB, free: 32.37 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.8545, allocations: 139.1 kB / 1.309 GB, free: 32.3 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001606/0.8546, allocations: 142.4 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.8547, allocations: 36.7 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.8548, allocations: 52.95 kB / 1.309 GB, free: 32.19 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.8549, allocations: 61.3 kB / 1.309 GB, free: 32.16 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.855, allocations: 13.94 kB / 1.309 GB, free: 32.16 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.855, allocations: 32.55 kB / 1.309 GB, free: 32.15 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.855, allocations: 14.05 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.8551, allocations: 51.7 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.8553, allocations: 163 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8553, allocations: 0 / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.263e-06/0.8553, allocations: 0 / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 4.989e-06/0.8553, allocations: 0 / 1.309 GB, free: 32.05 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0005507/0.8558, allocations: 353.5 kB / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8559, allocations: 16.41 kB / 1.31 GB, free: 31.72 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.8559, allocations: 14.77 kB / 1.31 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.856, allocations: 116.4 kB / 1.31 GB, free: 31.58 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.856, allocations: 6.219 kB / 1.31 GB, free: 31.58 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.856, allocations: 10.28 kB / 1.31 GB, free: 31.58 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.8562, allocations: 92.48 kB / 1.31 GB, free: 31.53 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8562, allocations: 4.188 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8563, allocations: 10.5 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8563, allocations: 0 / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.8565, allocations: 56.97 kB / 1.31 GB, free: 31.5 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.8569, allocations: 350.9 kB / 1.31 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.857, allocations: 52.83 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.381e-05/0.8571, allocations: 31.69 kB / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.8571, allocations: 0 / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.8573, allocations: 91.81 kB / 1.311 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.8573, allocations: 0 / 1.311 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6): time 0.0004031/0.8577, allocations: 126.3 kB / 1.311 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.8578, allocations: 54.28 kB / 1.311 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.8579, allocations: 126.9 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.8579, allocations: 32.61 kB / 1.311 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.8579, allocations: 100.8 kB / 1.311 GB, free: 30.74 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.8579, allocations: 17.73 kB / 1.311 GB, free: 30.73 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.858, allocations: 39.16 kB / 1.311 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.372e-05/0.858, allocations: 321 kB / 1.311 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.8582, allocations: 54.84 kB / 1.311 GB, free: 30.36 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.8584, allocations: 77.81 kB / 1.311 GB, free: 30.32 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.8586, allocations: 118.1 kB / 1.312 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8586, allocations: 0 / 1.312 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003849/0.859, allocations: 197.6 kB / 1.312 GB, free: 30.13 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.859, allocations: 35.52 kB / 1.312 GB, free: 30.1 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.859, allocations: 6.812 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.859, allocations: 4.375 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.8591, allocations: 8.703 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8591, allocations: 2.75 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.8593, allocations: 44.53 kB / 1.312 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.8594, allocations: 5.781 kB / 1.312 GB, free: 30.08 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (8):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.889e-05/0.8594, allocations: 123.1 kB / 1.312 GB, free: 29.96 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.8595, allocations: 10.8 kB / 1.312 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.8595, allocations: 11.34 kB / 1.312 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8595, allocations: 3.938 kB / 1.312 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8595, allocations: 0 / 1.312 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8595, allocations: 3.938 kB / 1.312 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.366e-05/0.8596, allocations: 159.1 kB / 1.312 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8596, allocations: 0 / 1.312 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.8596, allocations: 13.19 kB / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8596, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.8597, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8597, allocations: 4 kB / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8597, allocations: 2.875 kB / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.8599, allocations: 125.2 kB / 1.312 GB, free: 29.67 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.8599, allocations: 15.02 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8599, allocations: 2.875 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.86, allocations: 10.77 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.86, allocations: 20.83 kB / 1.312 GB, free: 29.65 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.86, allocations: 2.906 kB / 1.312 GB, free: 29.65 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 3.283e-05/0.8601, allocations: 95.77 kB / 1.312 GB, free: 29.57 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/0.8601, allocations: 0 / 1.312 GB, free: 29.57 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002182/0.8603, allocations: 25.5 kB / 1.312 GB, free: 29.56 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y)
 * Number of discrete states: 1 (conEquSta.hys.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001174/0.8604, allocations: 105.4 kB / 1.313 GB, free: 29.47 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003511/0.8608, allocations: 150.6 kB / 1.313 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8608, allocations: 0 / 1.313 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.8609, allocations: 39.5 kB / 1.313 GB, free: 29.37 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.8611, allocations: 13.28 kB / 1.313 GB, free: 29.37 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.8614, allocations: 183.7 kB / 1.313 GB, free: 29.22 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.8615, allocations: 0.6978 MB / 1.314 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 3.287e-05/0.8616, allocations: 2.781 kB / 1.314 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.8616, allocations: 13.62 kB / 1.314 GB, free: 28.51 MB / 1.061 GB
Notification: Performance of SimCode: time 4.2e-07/0.8616, allocations: 0 / 1.314 GB, free: 28.51 MB / 1.061 GB
Notification: Performance of Templates: time 0.003975/0.8656, allocations: 1.686 MB / 1.315 GB, free: 28.34 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 8.779202400706708]