Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_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_9_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.001526/0.001525, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00171/0.00171, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003824, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8603, allocations: 142.3 MB / 0.9535 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001147/0.8615, allocations: 0.5073 MB / 0.954 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.863, allocations: 1.127 MB / 0.9551 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.863, allocations: 5.156 kB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.8631, allocations: 0 / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.8632, allocations: 10.42 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.8637, allocations: 116.3 kB / 0.9552 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.8638, allocations: 70.52 kB / 0.9553 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.8639, allocations: 27.72 kB / 0.9553 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.864, allocations: 45.09 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.8641, allocations: 47.89 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.8642, allocations: 6.219 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.8643, allocations: 15.11 kB / 0.9554 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.8643, allocations: 10.97 kB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.8643, allocations: 37.83 kB / 0.9555 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.8645, allocations: 107.6 kB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.8645, allocations: 0 / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8645, allocations: 0 / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8645, allocations: 4 kB / 0.9556 GB, free: 6.434 MB / 0.7169 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.0005645/0.8651, allocations: 424.2 kB / 0.956 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8651, allocations: 9.781 kB / 0.956 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.8652, allocations: 18.77 kB / 0.956 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.8653, allocations: 162.5 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.8653, allocations: 12.38 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.8653, allocations: 7.781 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.8656, allocations: 88.58 kB / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8656, allocations: 0 / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8656, allocations: 1.094 kB / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.8656, allocations: 1.031 kB / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.8659, allocations: 77.28 kB / 0.9564 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.8664, allocations: 403.5 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.8666, allocations: 59.08 kB / 0.9568 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.8666, allocations: 1.094 kB / 0.9568 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.8668, allocations: 89.83 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.8668, allocations: 3.984 kB / 0.9569 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004156/0.8672, allocations: 149 kB / 0.957 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.8673, allocations: 52.72 kB / 0.9571 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.8674, allocations: 120.9 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.8674, allocations: 32.02 kB / 0.9572 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.8675, allocations: 94.17 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.8675, allocations: 22.27 kB / 0.9573 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.8675, allocations: 1.469 kB / 0.9573 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.8676, allocations: 320.2 kB / 0.9576 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.8677, allocations: 63.11 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.8679, allocations: 83.02 kB / 0.9578 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.868, allocations: 77.12 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8681, allocations: 0 / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004009/0.8685, allocations: 213.4 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.8685, allocations: 36.77 kB / 0.9581 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8685, allocations: 9.188 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.8685, allocations: 1.188 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.8686, allocations: 12.73 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.8687, allocations: 0 / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.8689, allocations: 58.19 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.8689, allocations: 4.406 kB / 0.9582 GB, free: 4.109 MB / 0.7169 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.869, allocations: 125 kB / 0.9583 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8691, allocations: 11.61 kB / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.8691, allocations: 16.36 kB / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.8691, allocations: 1.75 kB / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8691, allocations: 0 / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8691, allocations: 0 / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.8692, allocations: 182 kB / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8693, allocations: 0 / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.8693, allocations: 16.86 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.8693, allocations: 3.953 kB / 0.9585 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.8693, allocations: 5.812 kB / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8694, allocations: 4 kB / 0.9585 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8694, allocations: 3.984 kB / 0.9585 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.8696, allocations: 124.3 kB / 0.9587 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.8697, allocations: 86.55 kB / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.8697, allocations: 13.31 kB / 0.9587 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.8698, allocations: 13.61 kB / 0.9588 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.8699, allocations: 13.48 kB / 0.9588 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8699, allocations: 1.375 kB / 0.9588 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.8699, allocations: 93.33 kB / 0.9589 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8699, allocations: 0 / 0.9589 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.8701, allocations: 28.47 kB / 0.9589 GB, free: 3.426 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.8703, allocations: 123.9 kB / 0.959 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.8707, allocations: 171.6 kB / 0.9592 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8707, allocations: 0 / 0.9592 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.8708, allocations: 50.09 kB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.871, allocations: 14.62 kB / 0.9592 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.8714, allocations: 193 kB / 0.9594 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.8715, allocations: 0.6957 MB / 0.9601 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.8715, allocations: 3.562 kB / 0.9601 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.8716, allocations: 11.66 kB / 0.9601 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8716, allocations: 0 / 0.9601 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.003979/0.8756, allocations: 1.401 MB / 0.9615 GB, free: 1.574 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches