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.0009706/0.0009774, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008267/0.008267, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.88/2.88, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 10.97 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3624, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001544/0.364, allocations: 0.5183 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3662, allocations: 1.17 MB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.3663, allocations: 4 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.3663, allocations: 3.938 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3664, allocations: 3.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.3671, allocations: 138.8 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3673, allocations: 127.7 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.3675, allocations: 27.98 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3676, allocations: 47.89 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3678, allocations: 47.75 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3678, allocations: 4 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.3679, allocations: 20 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.3679, allocations: 11.92 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3681, allocations: 73.47 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3683, allocations: 135.9 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3683, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.539e-06/0.3684, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3684, allocations: 0 / 1.061 GB, free: 3.152 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.0008803/0.3693, allocations: 417 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3693, allocations: 16.02 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.3694, allocations: 12.84 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.3696, allocations: 176.2 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3696, allocations: 12.36 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.3697, allocations: 16.31 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3699, allocations: 94.14 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.37, allocations: 192 / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.37, allocations: 7.938 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.37, allocations: 0 / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.3702, allocations: 63.95 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.3709, allocations: 388.4 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3711, allocations: 62.55 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3713, allocations: 36.88 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3713, allocations: 0 / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.3716, allocations: 95.3 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3716, allocations: 0 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004809/0.372, allocations: 137.6 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3721, allocations: 55.41 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3723, allocations: 137.5 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3723, allocations: 33.7 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3724, allocations: 96.03 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3724, allocations: 19.8 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.3725, allocations: 17.72 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3726, allocations: 322.8 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3728, allocations: 59.91 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.373, allocations: 79.39 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.3733, allocations: 132.3 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3733, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004418/0.3737, allocations: 211.1 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.3738, allocations: 41.69 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3738, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3738, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.3739, allocations: 8 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.374, allocations: 0 / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.3742, allocations: 63.94 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3743, allocations: 8 kB / 1.064 GB, free: 120 kB / 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.0001422/0.3744, allocations: 127.4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.3744, allocations: 7.906 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.3745, allocations: 12.36 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3745, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3745, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3745, allocations: 7.938 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3747, allocations: 181.6 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3747, allocations: 4.094 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.3748, allocations: 24.12 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3748, allocations: 4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3748, allocations: 3.984 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3748, allocations: 4 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3748, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3751, allocations: 136.9 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3752, allocations: 81.09 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3752, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.3753, allocations: 11.98 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.3754, allocations: 19.91 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3754, allocations: 4 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.3755, allocations: 91.27 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 4 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002285/0.3757, allocations: 32.03 kB / 1.064 GB, free: 15.27 MB / 0.8262 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.0002315/0.376, allocations: 117.3 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.3764, allocations: 175.3 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3764, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3766, allocations: 43.91 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3768, allocations: 11.98 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.3773, allocations: 201.2 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3777, allocations: 0.6935 MB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.3778, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3778, allocations: 23.36 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3778, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.004493/0.3823, allocations: 1.452 MB / 1.067 GB, free: 12.52 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