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.0009346/0.0009346, allocations: 83.59 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.0009092/0.0009092, allocations: 169 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 1.068/1.068, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.923/1.923, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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 2.565e-06/2.565e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.902e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001931/0.00196, allocations: 1.142 MB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.003591, allocations: 1.433 MB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003712, allocations: 4 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.00377, allocations: 23.67 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.003907, allocations: 45.19 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.004558, allocations: 295.3 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.00494, allocations: 413.2 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.005126, allocations: 84.78 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.005351, allocations: 231.6 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.00551, allocations: 125.1 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.005562, allocations: 44 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.005653, allocations: 63.92 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.005697, allocations: 55.83 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.005806, allocations: 124.8 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.00613, allocations: 299 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006133, allocations: 0 / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/0.006135, allocations: 0.5312 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.006141, allocations: 0 / 0.8158 GB, free: 13.42 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.0007956/0.006936, allocations: 0.6407 MB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.006979, allocations: 8.031 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.007084, allocations: 48.75 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.007627, allocations: 269.3 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.007666, allocations: 21.75 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.007718, allocations: 24.38 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.007973, allocations: 151.5 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.007987, allocations: 192 / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.008005, allocations: 9.531 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.008017, allocations: 7.938 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.008161, allocations: 67.88 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.00906, allocations: 0.5873 MB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.009396, allocations: 140.4 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.009477, allocations: 50.05 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.009491, allocations: 4 kB / 0.8177 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.009682, allocations: 120.4 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.235e-06/0.009684, allocations: 0.8438 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.00037/0.01005, allocations: 193.4 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.01009, allocations: 56.69 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.01028, allocations: 253.8 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.01032, allocations: 37.7 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01043, allocations: 195.5 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.01047, allocations: 52.41 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.0106, allocations: 83.33 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.01074, allocations: 0.4971 MB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.011, allocations: 139.3 kB / 0.8193 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.01124, allocations: 303.4 kB / 0.8196 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.01146, allocations: 199 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.01146, allocations: 4 kB / 0.8198 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005072/0.01197, allocations: 395.3 kB / 0.8202 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.01202, allocations: 67.39 kB / 0.8202 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01203, allocations: 4 kB / 0.8202 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01205, allocations: 0 / 0.8202 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.01212, allocations: 15.94 kB / 0.8202 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.01213, allocations: 15.91 kB / 0.8203 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.01234, allocations: 62.28 kB / 0.8203 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.01237, allocations: 15.98 kB / 0.8203 GB, free: 8.402 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.0001254/0.0125, allocations: 183.2 kB / 0.8205 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.01253, allocations: 23.86 kB / 0.8205 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.01259, allocations: 28.23 kB / 0.8206 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.0126, allocations: 4 kB / 0.8206 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.0126, allocations: 0 / 0.8206 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01261, allocations: 3.938 kB / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.0128, allocations: 208.5 kB / 0.8208 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0128, allocations: 4 kB / 0.8208 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.01286, allocations: 18.98 kB / 0.8208 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01286, allocations: 3.938 kB / 0.8208 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01287, allocations: 4 kB / 0.8208 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01287, allocations: 0 / 0.8208 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01288, allocations: 0 / 0.8208 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.01312, allocations: 202.5 kB / 0.821 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.01314, allocations: 19.86 kB / 0.821 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01317, allocations: 4 kB / 0.821 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.01323, allocations: 16.89 kB / 0.821 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.0133, allocations: 27.94 kB / 0.8211 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.01332, allocations: 5.062 kB / 0.8211 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001137/0.01343, allocations: 192 kB / 0.8212 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01343, allocations: 0 / 0.8212 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002932/0.01372, allocations: 65.02 kB / 0.8213 GB, free: 7.352 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.0001564/0.01388, allocations: 121.7 kB / 0.8214 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.01428, allocations: 338.9 kB / 0.8217 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01429, allocations: 0 / 0.8217 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.01439, allocations: 69.25 kB / 0.8218 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.01467, allocations: 37.56 kB / 0.8218 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.01523, allocations: 371.4 kB / 0.8222 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.01528, allocations: 81.25 kB / 0.8223 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.303e-05/0.01537, allocations: 32.41 kB / 0.8223 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.01542, allocations: 21.66 kB / 0.8223 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.01542, allocations: 0 / 0.8223 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of Templates: time 0.007155/0.02258, allocations: 3.762 MB / 0.826 GB, free: 2.535 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.439927213825285]