Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 192.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.06 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.352, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002135/0.3542, allocations: 0.8633 MB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3556, allocations: 1.166 MB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.3556, allocations: 3.938 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.3557, allocations: 3.938 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.3558, allocations: 11.91 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.3563, allocations: 122.8 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.3565, allocations: 147.7 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3566, allocations: 35.97 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.3567, allocations: 59.83 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.3568, allocations: 47.83 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3569, allocations: 16 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.3569, allocations: 31.97 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.357, allocations: 19.92 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.3571, allocations: 51.84 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.3573, allocations: 151.8 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3573, allocations: 4 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3573, allocations: 3.938 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3573, allocations: 0 / 1.055 GB, free: 6.016 MB / 0.8106 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.0006627/0.358, allocations: 432.9 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.358, allocations: 8.625 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3581, allocations: 16.78 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3582, allocations: 180.2 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3582, allocations: 8.359 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3582, allocations: 12.38 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3585, allocations: 78.22 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3585, allocations: 192 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3585, allocations: 7.938 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3585, allocations: 7.984 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3587, allocations: 59.89 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.3593, allocations: 376.6 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3594, allocations: 54.5 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3596, allocations: 36.92 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3596, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3598, allocations: 83.36 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3598, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004256/0.3603, allocations: 129.5 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.3603, allocations: 51.41 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3604, allocations: 125.7 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.3605, allocations: 37.69 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3605, allocations: 96.03 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3605, allocations: 15.75 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.3606, allocations: 45.69 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.3607, allocations: 314.8 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.3609, allocations: 55.95 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3611, allocations: 75.39 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.3613, allocations: 120.2 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3613, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004123/0.3618, allocations: 191.2 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.3618, allocations: 33.69 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3618, allocations: 4 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3618, allocations: 4.062 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3619, allocations: 7.984 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.362, allocations: 4 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.3622, allocations: 47.92 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3622, allocations: 7.984 kB / 1.058 GB, free: 3.066 MB / 0.8106 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 0.0001054/0.3623, allocations: 133.6 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3624, allocations: 3.906 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.3624, allocations: 12.38 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3624, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3624, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3624, allocations: 3.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.3626, allocations: 193.6 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3626, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.3626, allocations: 11.98 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3627, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3627, allocations: 4.312 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3627, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3627, allocations: 4 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.363, allocations: 132.9 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.363, allocations: 81.02 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.363, allocations: 4 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.3631, allocations: 15.98 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.3632, allocations: 15.91 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3632, allocations: 8 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.3632, allocations: 95.2 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3632, allocations: 0 / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002287/0.3635, allocations: 24.12 kB / 1.058 GB, free: 2.246 MB / 0.8106 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.0001543/0.3636, allocations: 107.2 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.364, allocations: 175.3 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3641, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3642, allocations: 35.98 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3644, allocations: 7.984 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.3648, allocations: 207 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3651, allocations: 0.6885 MB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.3651, allocations: 7.984 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.3652, allocations: 15.44 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3652, allocations: 7.938 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of Templates: time 0.004093/0.3693, allocations: 1.52 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches