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.0009576/0.0009576, 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.001159/0.001159, 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.9619/0.9619, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.344/2.344, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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.054e-06/2.054e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.908e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001784/0.001803, allocations: 1.109 MB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003297, allocations: 1.442 MB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.003391, allocations: 0 / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.003442, allocations: 27.67 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.003579, allocations: 47.53 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.004129, allocations: 295.3 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.004469, allocations: 419.7 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.004622, allocations: 87.41 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.004869, allocations: 255.4 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.005017, allocations: 99.72 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.005059, allocations: 36 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.005138, allocations: 55.92 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.005179, allocations: 55.77 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.005255, allocations: 103.7 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.005503, allocations: 263.2 kB / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005505, allocations: 7.938 kB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005506, allocations: 0 / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00551, allocations: 0 / 0.8427 GB, free: 9.895 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.0005604/0.00607, allocations: 0.5029 MB / 0.8432 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.006103, allocations: 12.62 kB / 0.8432 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.006162, allocations: 44.84 kB / 0.8433 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.006376, allocations: 197.3 kB / 0.8435 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.006403, allocations: 24.38 kB / 0.8435 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.006438, allocations: 28.38 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.006583, allocations: 134.8 kB / 0.8437 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.006592, allocations: 192 / 0.8437 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.006604, allocations: 12.31 kB / 0.8437 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006612, allocations: 8.125 kB / 0.8437 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.848e-05/0.00667, allocations: 43.97 kB / 0.8437 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.007164, allocations: 387.8 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.007368, allocations: 118.1 kB / 0.8442 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.007406, allocations: 40.81 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.007417, allocations: 4.281 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.007529, allocations: 103.2 kB / 0.8443 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/0.007531, allocations: 3.984 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001767/0.007708, allocations: 139.4 kB / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.007739, allocations: 55.41 kB / 0.8445 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007853, allocations: 206.2 kB / 0.8447 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.007882, allocations: 37.7 kB / 0.8448 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.007951, allocations: 136.6 kB / 0.8449 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.007986, allocations: 51.55 kB / 0.8449 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.008065, allocations: 73.64 kB / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.008155, allocations: 338.8 kB / 0.8453 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.00824, allocations: 107.4 kB / 0.8454 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.008374, allocations: 251.3 kB / 0.8457 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.0085, allocations: 179 kB / 0.8458 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.008503, allocations: 7.938 kB / 0.8459 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002472/0.00875, allocations: 308.3 kB / 0.8461 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.008799, allocations: 71.39 kB / 0.8462 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.008806, allocations: 4 kB / 0.8462 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.008819, allocations: 0 / 0.8462 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.00888, allocations: 19.92 kB / 0.8462 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.008886, allocations: 7.938 kB / 0.8462 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.009047, allocations: 63.97 kB / 0.8463 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.009067, allocations: 15.98 kB / 0.8463 GB, free: 5.926 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 9.499e-05/0.009162, allocations: 131.7 kB / 0.8464 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.009184, allocations: 19.98 kB / 0.8465 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.009223, allocations: 25.8 kB / 0.8465 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.009228, allocations: 4 kB / 0.8465 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009231, allocations: 4 kB / 0.8465 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.009236, allocations: 0 / 0.8465 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.009366, allocations: 145.7 kB / 0.8466 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009368, allocations: 0 / 0.8466 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.0094, allocations: 11.94 kB / 0.8466 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.009403, allocations: 4 kB / 0.8467 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.009412, allocations: 7.984 kB / 0.8467 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009413, allocations: 0 / 0.8467 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.009415, allocations: 0 / 0.8467 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.009537, allocations: 138.2 kB / 0.8468 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.009556, allocations: 23.8 kB / 0.8468 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.009576, allocations: 12 kB / 0.8468 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.00961, allocations: 7.984 kB / 0.8468 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.009662, allocations: 27.94 kB / 0.8469 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.00967, allocations: 8 kB / 0.8469 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.00971, allocations: 57.89 kB / 0.8469 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00971, allocations: 0 / 0.8469 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001669/0.009877, allocations: 63.89 kB / 0.847 GB, free: 5.199 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.0001139/0.009991, allocations: 101.3 kB / 0.8471 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.01024, allocations: 306.9 kB / 0.8474 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01024, allocations: 0 / 0.8474 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.01031, allocations: 63.45 kB / 0.8474 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.01045, allocations: 50.16 kB / 0.8475 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01086, allocations: 353.1 kB / 0.8478 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.649e-05/0.01091, allocations: 80.31 kB / 0.8479 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.804e-05/0.01096, allocations: 21.95 kB / 0.8479 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.01111, allocations: 111.3 kB / 0.848 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01112, allocations: 0 / 0.848 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.006189/0.0173, allocations: 4.041 MB / 0.852 GB, free: 76 kB / 0.8073 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 -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.237118051853031]