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.000997/0.000997, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001005/0.001005, allocations: 181.3 kB / 24.09 MB, free: 412 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.426 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.703e-06/1.703e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.792e-05, allocations: 3.312 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001667/0.001685, allocations: 1.126 MB / 0.8131 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003014, allocations: 1.42 MB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.003091, allocations: 4.656 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/0.003132, allocations: 23.67 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.003249, allocations: 60.28 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.003709, allocations: 284.4 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.004149, allocations: 424.7 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004289, allocations: 84.78 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.004502, allocations: 240.3 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.004635, allocations: 117.3 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.004677, allocations: 40 kB / 0.8157 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.004744, allocations: 40 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.004782, allocations: 53.36 kB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.004855, allocations: 111.7 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.005089, allocations: 271 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00509, allocations: 4 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005091, allocations: 1.594 kB / 0.8162 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005095, allocations: 0 / 0.8162 GB, free: 13.22 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.0005207/0.005615, allocations: 0.6238 MB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.005648, allocations: 8.531 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.005711, allocations: 57.33 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.005934, allocations: 244.6 kB / 0.8171 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.005953, allocations: 20.38 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.005982, allocations: 28.38 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.006124, allocations: 140.6 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006133, allocations: 192 / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.006146, allocations: 8.375 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.006154, allocations: 9.5 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/0.006217, allocations: 47.94 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.006729, allocations: 0.56 MB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.006927, allocations: 123.9 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.006964, allocations: 31.67 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.006975, allocations: 8.906 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.007084, allocations: 113.5 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.007085, allocations: 0.5312 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0002182/0.007303, allocations: 175.4 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.007328, allocations: 56.81 kB / 0.8183 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007458, allocations: 257.7 kB / 0.8186 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.007485, allocations: 37.7 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.007564, allocations: 198.1 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.007596, allocations: 51.61 kB / 0.8189 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.007678, allocations: 83.3 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.007806, allocations: 0.5001 MB / 0.8194 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.007914, allocations: 123.3 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.008076, allocations: 281.9 kB / 0.8198 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.008217, allocations: 193.3 kB / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008219, allocations: 0.5312 kB / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003091/0.008528, allocations: 377.8 kB / 0.8204 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.008566, allocations: 67.39 kB / 0.8204 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008571, allocations: 3.938 kB / 0.8204 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.008584, allocations: 4.5 kB / 0.8204 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/0.008632, allocations: 13.12 kB / 0.8204 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.008635, allocations: 0 / 0.8204 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.00879, allocations: 64.73 kB / 0.8205 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.008846, allocations: 20.78 kB / 0.8205 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.000106/0.008952, allocations: 188.7 kB / 0.8207 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.00898, allocations: 23.86 kB / 0.8207 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.009016, allocations: 25.81 kB / 0.8207 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009019, allocations: 6.781 kB / 0.8208 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.00902, allocations: 0 / 0.8208 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.009024, allocations: 3.984 kB / 0.8208 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.009156, allocations: 173.1 kB / 0.8209 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.009159, allocations: 7.984 kB / 0.8209 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.009203, allocations: 23.92 kB / 0.821 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.009205, allocations: 0 / 0.821 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.009213, allocations: 4 kB / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009215, allocations: 1.469 kB / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009216, allocations: 0 / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.009381, allocations: 185.5 kB / 0.8211 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.009399, allocations: 19.8 kB / 0.8212 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.009418, allocations: 13.05 kB / 0.8212 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.009459, allocations: 8 kB / 0.8212 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.00951, allocations: 36.97 kB / 0.8212 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.009516, allocations: 3.984 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.009584, allocations: 176.1 kB / 0.8214 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009584, allocations: 0.7188 kB / 0.8214 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001784/0.009762, allocations: 59.89 kB / 0.8214 GB, free: 7.41 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 9.81e-05/0.00986, allocations: 117.4 kB / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.01011, allocations: 342.8 kB / 0.8219 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.91e-07/0.01011, allocations: 4 kB / 0.8219 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.01017, allocations: 57.12 kB / 0.8219 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01034, allocations: 50.2 kB / 0.822 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.01069, allocations: 346.6 kB / 0.8223 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.01075, allocations: 84.19 kB / 0.8224 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.01081, allocations: 23.53 kB / 0.8224 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.01096, allocations: 138.1 kB / 0.8225 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01096, allocations: 0 / 0.8225 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.00519/0.01615, allocations: 4.038 MB / 0.8265 GB, free: 2.234 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.108366596046835]