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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8583/0.8583, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.742/1.742, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.583e-06/1.583e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.999e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001401/0.001421, allocations: 0.8284 MB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.002504, allocations: 1.205 MB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.002552, allocations: 0.875 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.002584, allocations: 7.875 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.002665, allocations: 20.62 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.00306, allocations: 141.2 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.003219, allocations: 147.7 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.003315, allocations: 23.98 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003423, allocations: 81.45 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.003499, allocations: 43.88 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.003524, allocations: 16 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.003579, allocations: 23.98 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.003603, allocations: 17.3 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.003652, allocations: 47.89 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.003811, allocations: 119.6 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003814, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003815, allocations: 1.75 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.003819, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 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.0004638/0.004283, allocations: 446.1 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.004318, allocations: 12.03 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.004372, allocations: 13.89 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.004455, allocations: 124.5 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.004469, allocations: 8.906 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.004487, allocations: 12.31 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.004624, allocations: 79.67 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004631, allocations: 1.375 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004642, allocations: 4.375 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.00465, allocations: 4.375 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.004701, allocations: 27.08 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.005084, allocations: 355.4 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.005159, allocations: 39.05 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.005184, allocations: 19.62 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.005192, allocations: 0 / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.178e-05/0.005284, allocations: 77.59 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005285, allocations: 0.7188 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001727/0.005458, allocations: 73.64 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.005488, allocations: 59.92 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.005568, allocations: 177.9 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.005586, allocations: 31.33 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.005643, allocations: 150.8 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.005659, allocations: 11.91 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.005711, allocations: 47.34 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005812, allocations: 0.489 MB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.005882, allocations: 65.61 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.005963, allocations: 126.8 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.006045, allocations: 85.44 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006047, allocations: 0.9375 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.006239, allocations: 197.8 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.006266, allocations: 40.34 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.00627, allocations: 0.9375 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006283, allocations: 4 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.006342, allocations: 5.219 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.006349, allocations: 3.984 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.006435, allocations: 33.03 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.006449, allocations: 15.97 kB / 0.8169 GB, free: 11.97 MB / 0.7761 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 7.135e-05/0.006521, allocations: 166.7 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.006532, allocations: 4 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.006556, allocations: 16.44 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006558, allocations: 0 / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.006561, allocations: 0 / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006564, allocations: 3.031 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.732e-05/0.006651, allocations: 144.5 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006653, allocations: 0 / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.006675, allocations: 11.92 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006676, allocations: 4 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.006684, allocations: 0 / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006685, allocations: 0 / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006686, allocations: 0 / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.00679, allocations: 113.7 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006799, allocations: 7.953 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.006815, allocations: 0 / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.006838, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.006883, allocations: 16.59 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.00689, allocations: 4.562 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.006932, allocations: 143.5 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006932, allocations: 1.781 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000146/0.007078, allocations: 23.94 kB / 0.8175 GB, free: 11.26 MB / 0.7761 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.0001045/0.007182, allocations: 107.2 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.007361, allocations: 149.9 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.007363, allocations: 4 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.007398, allocations: 24.72 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.007547, allocations: 20.58 kB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.007988, allocations: 180.5 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.00802, allocations: 67.17 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.008042, allocations: 4 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.00807, allocations: 12.5 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.008071, allocations: 0 / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.003461/0.01153, allocations: 1.952 MB / 0.82 GB, free: 8.727 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.68396856309846]