Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009747/0.0009747, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001091/0.001091, allocations: 173 kB / 23.36 MB, free: 1.133 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.9902/0.9902, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.507/2.507, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.768e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002041/0.002069, allocations: 1.157 MB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.00392, allocations: 1.435 MB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004033, allocations: 0 / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.004085, allocations: 27.67 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.004226, allocations: 55.52 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.004822, allocations: 287.4 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.005194, allocations: 423.7 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.005351, allocations: 83.41 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.005622, allocations: 251.5 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.005771, allocations: 107.7 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.005814, allocations: 40 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.005905, allocations: 47.98 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.005944, allocations: 55.77 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.006024, allocations: 99.8 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.006296, allocations: 275.1 kB / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0063, allocations: 0 / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006301, allocations: 0 / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.006305, allocations: 0 / 0.8428 GB, free: 9.793 MB / 0.8073 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.0005661/0.006871, allocations: 0.5068 MB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.006907, allocations: 16.62 kB / 0.8433 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.006967, allocations: 40.91 kB / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.007196, allocations: 197.3 kB / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.00722, allocations: 20.38 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.00725, allocations: 28.38 kB / 0.8436 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.0074, allocations: 138.7 kB / 0.8437 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007409, allocations: 192 / 0.8437 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.007426, allocations: 8.359 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.007436, allocations: 8.125 kB / 0.8438 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.007494, allocations: 39.98 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.008013, allocations: 395.8 kB / 0.8442 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.008224, allocations: 114.5 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.008261, allocations: 28.84 kB / 0.8443 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.008273, allocations: 4.281 kB / 0.8443 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.008671, allocations: 115.2 kB / 0.8444 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.008672, allocations: 4 kB / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.000182/0.008854, allocations: 131.5 kB / 0.8446 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.008888, allocations: 55.41 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.009012, allocations: 210.1 kB / 0.8448 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.009041, allocations: 41.7 kB / 0.8448 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.009102, allocations: 132.5 kB / 0.845 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.009137, allocations: 51.55 kB / 0.845 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.00922, allocations: 73.64 kB / 0.8451 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.009302, allocations: 338.8 kB / 0.8454 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.0094, allocations: 111.4 kB / 0.8455 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.009534, allocations: 243.3 kB / 0.8458 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.009667, allocations: 187 kB / 0.8459 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.009671, allocations: 3.938 kB / 0.8459 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002423/0.009913, allocations: 312.2 kB / 0.8462 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.009958, allocations: 67.39 kB / 0.8463 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.009964, allocations: 4 kB / 0.8463 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.009977, allocations: 4.125 kB / 0.8463 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.01004, allocations: 27.92 kB / 0.8463 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.01004, allocations: 4 kB / 0.8463 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.01021, allocations: 55.83 kB / 0.8464 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.01023, allocations: 12 kB / 0.8464 GB, free: 5.828 MB / 0.8073 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.0001002/0.01033, allocations: 147.7 kB / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.01035, allocations: 15.98 kB / 0.8466 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.0104, allocations: 21.81 kB / 0.8466 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01041, allocations: 4 kB / 0.8466 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01041, allocations: 0 / 0.8466 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01041, allocations: 3.984 kB / 0.8466 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.01056, allocations: 137.7 kB / 0.8467 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01056, allocations: 0 / 0.8467 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.01061, allocations: 19.98 kB / 0.8467 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01061, allocations: 4 kB / 0.8467 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.01062, allocations: 4 kB / 0.8467 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.01062, allocations: 4 kB / 0.8467 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01062, allocations: 0 / 0.8467 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.01077, allocations: 138.1 kB / 0.8469 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.0108, allocations: 27.78 kB / 0.8469 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01082, allocations: 8 kB / 0.8469 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.01086, allocations: 8 kB / 0.8469 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.01092, allocations: 27.94 kB / 0.8469 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01093, allocations: 7.984 kB / 0.847 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.01098, allocations: 57.91 kB / 0.847 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01098, allocations: 0 / 0.847 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001932/0.01117, allocations: 63.89 kB / 0.8471 GB, free: 5.094 MB / 0.8073 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.0001407/0.01131, allocations: 105.3 kB / 0.8472 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.01159, allocations: 310.9 kB / 0.8475 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.0116, allocations: 0 / 0.8475 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.01167, allocations: 59.5 kB / 0.8475 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.01183, allocations: 48.16 kB / 0.8476 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.0123, allocations: 349.1 kB / 0.8479 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.01236, allocations: 76.33 kB / 0.848 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.463e-05/0.01243, allocations: 29.94 kB / 0.848 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.01259, allocations: 103.3 kB / 0.8481 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.01259, allocations: 0 / 0.8481 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of Templates: time 0.006411/0.019, allocations: 4.05 MB / 0.8521 GB, free: 15.96 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.42368688294664]