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.001518/0.001518, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001913/0.001913, allocations: 166.9 kB / 24.87 MB, free: 8.867 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.911/1.911, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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.544e-06/2.544e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.498e-05, allocations: 3.297 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.0024/0.002425, allocations: 1.121 MB / 0.8139 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.004406, allocations: 1.413 MB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.004531, allocations: 4 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.261e-05/0.004593, allocations: 23.67 kB / 0.8153 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.004766, allocations: 56.12 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.005456, allocations: 289 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.005921, allocations: 419.7 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.00612, allocations: 89.47 kB / 0.8161 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.006451, allocations: 247.5 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.006641, allocations: 106.1 kB / 0.8164 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.006705, allocations: 36 kB / 0.8165 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.006803, allocations: 55.88 kB / 0.8165 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.006856, allocations: 51.83 kB / 0.8166 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.006969, allocations: 112.7 kB / 0.8167 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.007307, allocations: 263.1 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.007309, allocations: 0 / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00731, allocations: 4.906 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.007314, allocations: 0 / 0.8169 GB, free: 13.23 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.0007482/0.008062, allocations: 0.6328 MB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.0081, allocations: 12.03 kB / 0.8175 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.865e-05/0.008198, allocations: 46.44 kB / 0.8176 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.008525, allocations: 243.9 kB / 0.8178 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.008559, allocations: 16.38 kB / 0.8178 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.008617, allocations: 28.38 kB / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.008835, allocations: 139.5 kB / 0.818 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.008847, allocations: 1.094 kB / 0.818 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.008864, allocations: 4.375 kB / 0.818 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.008875, allocations: 12.59 kB / 0.818 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.008982, allocations: 52.53 kB / 0.8181 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/0.009804, allocations: 0.5522 MB / 0.8186 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.01013, allocations: 123.8 kB / 0.8187 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.01019, allocations: 41.03 kB / 0.8188 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.01021, allocations: 11.94 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.01038, allocations: 115.1 kB / 0.8189 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.01038, allocations: 1.156 kB / 0.8189 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003422/0.01073, allocations: 165.5 kB / 0.819 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.01077, allocations: 59.34 kB / 0.8191 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.01098, allocations: 255.7 kB / 0.8193 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.01102, allocations: 41.7 kB / 0.8194 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.01117, allocations: 196.4 kB / 0.8196 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.01123, allocations: 51.61 kB / 0.8196 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.01139, allocations: 83.28 kB / 0.8197 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.01159, allocations: 0.5009 MB / 0.8202 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.01178, allocations: 119.3 kB / 0.8203 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.01204, allocations: 283.2 kB / 0.8206 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.01228, allocations: 190.7 kB / 0.8208 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01228, allocations: 1.156 kB / 0.8208 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004422/0.01272, allocations: 377.4 kB / 0.8211 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.01277, allocations: 69.89 kB / 0.8212 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01278, allocations: 4 kB / 0.8212 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01279, allocations: 4.031 kB / 0.8212 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.01285, allocations: 21.41 kB / 0.8212 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01286, allocations: 4 kB / 0.8212 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.01303, allocations: 70.64 kB / 0.8213 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.01306, allocations: 15.92 kB / 0.8213 GB, free: 8.406 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.0001164/0.01317, allocations: 182.5 kB / 0.8215 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.0132, allocations: 36.36 kB / 0.8215 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.01325, allocations: 27.73 kB / 0.8215 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01325, allocations: 0 / 0.8215 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01326, allocations: 4 kB / 0.8215 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01326, allocations: 0 / 0.8215 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.01341, allocations: 177 kB / 0.8217 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.01342, allocations: 0 / 0.8217 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.01345, allocations: 12.94 kB / 0.8217 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01346, allocations: 4 kB / 0.8217 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.01347, allocations: 4.578 kB / 0.8217 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01347, allocations: 0 / 0.8217 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01347, allocations: 4.641 kB / 0.8217 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.01364, allocations: 189.3 kB / 0.8219 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01367, allocations: 27.78 kB / 0.8219 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01369, allocations: 4 kB / 0.8219 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.01373, allocations: 12 kB / 0.822 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.01379, allocations: 27.94 kB / 0.822 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.0138, allocations: 7.984 kB / 0.822 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.079e-05/0.01388, allocations: 179 kB / 0.8222 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01388, allocations: 2.719 kB / 0.8222 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001959/0.01408, allocations: 59.89 kB / 0.8222 GB, free: 7.414 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.0001452/0.01422, allocations: 116.7 kB / 0.8223 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.01453, allocations: 330.6 kB / 0.8226 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01453, allocations: 0 / 0.8226 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.0146, allocations: 65.36 kB / 0.8227 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01483, allocations: 37.09 kB / 0.8227 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.0153, allocations: 350.2 kB / 0.8231 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.01537, allocations: 84.17 kB / 0.8232 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.561e-05/0.01544, allocations: 29.36 kB / 0.8232 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.01562, allocations: 138.6 kB / 0.8233 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01562, allocations: 0 / 0.8233 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of Templates: time 0.005582/0.0212, allocations: 4.125 MB / 0.8273 GB, free: 2.156 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.280662765726447]