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.001381/0.001381, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001564/0.001564, allocations: 161 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.9332/0.9332, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.837/1.837, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.693e-06/1.693e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.641e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001571/0.001598, allocations: 0.8323 MB / 0.8123 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002839, allocations: 1.213 MB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.002898, allocations: 1.375 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.002935, allocations: 7.875 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.003024, allocations: 15.86 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.003476, allocations: 133 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.003652, allocations: 155.6 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003755, allocations: 20.55 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003868, allocations: 77.28 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.003951, allocations: 51.86 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.003976, allocations: 12 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.004036, allocations: 23.98 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.004062, allocations: 21.86 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.004116, allocations: 47.89 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.004284, allocations: 115.7 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004287, allocations: 0 / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004288, allocations: 0 / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004291, allocations: 1.969 kB / 0.8142 GB, free: 15.02 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.0004831/0.004774, allocations: 454 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.004809, allocations: 8.031 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.004861, allocations: 12.89 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.429e-05/0.004945, allocations: 125.1 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.004962, allocations: 8.375 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.004983, allocations: 8.906 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.005385, allocations: 84.7 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.005394, allocations: 192 / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.005405, allocations: 0.9062 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005413, allocations: 384 / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.005465, allocations: 29.36 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.005885, allocations: 355.4 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.658e-05/0.005962, allocations: 43.58 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.005986, allocations: 13.06 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.005995, allocations: 3.938 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.496e-05/0.00609, allocations: 77.11 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.006091, allocations: 5.094 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000182/0.006273, allocations: 77.64 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.006302, allocations: 51.41 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.006386, allocations: 178.8 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.006405, allocations: 33.7 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.006461, allocations: 146.8 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.006479, allocations: 12.69 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.006538, allocations: 43.36 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006643, allocations: 0.4973 MB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.006717, allocations: 57.67 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.006803, allocations: 126.1 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.641e-05/0.006889, allocations: 93.59 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006891, allocations: 1.344 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.007096, allocations: 193 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.007127, allocations: 42.88 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007131, allocations: 0 / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.007147, allocations: 0 / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.00721, allocations: 9.812 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007216, allocations: 4 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.00731, allocations: 27.91 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.007324, allocations: 8 kB / 0.8169 GB, free: 11.96 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.541e-05/0.007399, allocations: 174.1 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.007413, allocations: 11.95 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.007439, allocations: 8.438 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.007448, allocations: 4.312 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.007452, allocations: 0 / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007455, allocations: 0.5 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.114e-05/0.007546, allocations: 141.1 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007547, allocations: 0 / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.007574, allocations: 9.438 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.007576, allocations: 7.922 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.007583, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.007585, allocations: 4 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007586, allocations: 0.6875 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.007691, allocations: 108.3 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.007701, allocations: 13.28 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.007719, allocations: 4 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.477e-05/0.007743, allocations: 4 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.007791, allocations: 16.75 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.007796, allocations: 0 / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.007838, allocations: 135.8 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007838, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001552/0.007993, allocations: 24.66 kB / 0.8175 GB, free: 11.25 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.0001196/0.008113, allocations: 106.3 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.0083, allocations: 156.8 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008301, allocations: 0 / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.008341, allocations: 31.61 kB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.008523, allocations: 15.92 kB / 0.8178 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.009004, allocations: 176.9 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.009038, allocations: 63.2 kB / 0.8181 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.009063, allocations: 7.984 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.009095, allocations: 17.5 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.009095, allocations: 0 / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003346/0.01244, allocations: 1.789 MB / 0.8198 GB, free: 8.867 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.938864320050925]