Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.00121/0.00121, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001495/0.001495, allocations: 169 kB / 24.27 MB, free: 280 kB / 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 1.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.935/1.935, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.867e-05, allocations: 7.703 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001716/0.001735, allocations: 1.139 MB / 0.8126 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003107, allocations: 1.42 MB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.003195, allocations: 4 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.003242, allocations: 23.67 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.003366, allocations: 52.22 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.003873, allocations: 289.1 kB / 0.8144 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.004176, allocations: 411.7 kB / 0.8148 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.004343, allocations: 89.66 kB / 0.8148 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.004533, allocations: 235.6 kB / 0.8151 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.004676, allocations: 116.8 kB / 0.8152 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.004723, allocations: 44 kB / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.004802, allocations: 63.97 kB / 0.8153 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.004845, allocations: 61.52 kB / 0.8153 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.004943, allocations: 123.7 kB / 0.8155 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.00523, allocations: 295.1 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.005234, allocations: 4 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005235, allocations: 0 / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005239, allocations: 1.219 kB / 0.8157 GB, free: 13.75 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006484/0.005888, allocations: 0.6315 MB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005926, allocations: 13.84 kB / 0.8164 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.006007, allocations: 52.69 kB / 0.8164 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.006412, allocations: 268 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.006442, allocations: 21.91 kB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.006476, allocations: 24.38 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.006665, allocations: 151.5 kB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006673, allocations: 192 / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.006689, allocations: 9.781 kB / 0.8169 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.0067, allocations: 7.938 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.006808, allocations: 63.94 kB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.007436, allocations: 0.5864 MB / 0.8175 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.007694, allocations: 137.2 kB / 0.8177 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.007754, allocations: 47.61 kB / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.007764, allocations: 0 / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.00791, allocations: 131.7 kB / 0.8178 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.007911, allocations: 0.7188 kB / 0.8178 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.000293/0.008204, allocations: 189.4 kB / 0.818 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.008237, allocations: 60.56 kB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.008388, allocations: 253.8 kB / 0.8183 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.008417, allocations: 33.7 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.008506, allocations: 200.1 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.008539, allocations: 48.8 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.008628, allocations: 83.33 kB / 0.8187 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.008743, allocations: 0.5001 MB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.008882, allocations: 135.4 kB / 0.8193 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.009067, allocations: 303.5 kB / 0.8196 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.009237, allocations: 202.4 kB / 0.8198 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009239, allocations: 0 / 0.8198 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003712/0.00961, allocations: 397.8 kB / 0.8201 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.009652, allocations: 67.39 kB / 0.8202 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.009656, allocations: 0 / 0.8202 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.009671, allocations: 5.344 kB / 0.8202 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.009724, allocations: 19.92 kB / 0.8202 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.009732, allocations: 11.92 kB / 0.8202 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.009888, allocations: 62.84 kB / 0.8203 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.009912, allocations: 19.98 kB / 0.8203 GB, free: 8.727 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001048/0.01002, allocations: 183.1 kB / 0.8205 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01004, allocations: 23.86 kB / 0.8205 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.01008, allocations: 33.17 kB / 0.8205 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01008, allocations: 4 kB / 0.8205 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01009, allocations: 0 / 0.8205 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01009, allocations: 3.938 kB / 0.8205 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01023, allocations: 208.5 kB / 0.8207 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01024, allocations: 0 / 0.8207 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.01027, allocations: 15.98 kB / 0.8208 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01027, allocations: 0 / 0.8208 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01029, allocations: 8 kB / 0.8208 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01029, allocations: 0.5 kB / 0.8208 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01029, allocations: 0.5625 kB / 0.8208 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.01048, allocations: 198.1 kB / 0.821 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.01049, allocations: 16.64 kB / 0.821 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01052, allocations: 11.98 kB / 0.821 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.01056, allocations: 12.56 kB / 0.821 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.01062, allocations: 29.03 kB / 0.821 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01063, allocations: 11.98 kB / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.949e-05/0.01072, allocations: 184 kB / 0.8212 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01072, allocations: 0.6562 kB / 0.8212 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001813/0.0109, allocations: 61.48 kB / 0.8213 GB, free: 7.684 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: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001174/0.01102, allocations: 124.2 kB / 0.8214 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.01136, allocations: 337.8 kB / 0.8217 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01136, allocations: 0 / 0.8217 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.01144, allocations: 68.97 kB / 0.8218 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.01164, allocations: 36.84 kB / 0.8218 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.01207, allocations: 362.8 kB / 0.8222 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.01211, allocations: 85.28 kB / 0.8222 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.01217, allocations: 25.12 kB / 0.8223 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.01222, allocations: 28.44 kB / 0.8223 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01222, allocations: 3.469 kB / 0.8223 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of Templates: time 0.005325/0.01754, allocations: 3.782 MB / 0.826 GB, free: 2.855 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.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: 5.270833058049902]