Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 192.6 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.000824, allocations: 90.19 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.47e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1876, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4991/0.6868, allocations: 149.7 MB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.687, allocations: 69.97 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0128/0.6998, allocations: 4.934 MB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.6998, allocations: 3.781 kB / 1.356 GB, free: 15.09 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.0005494/0.7004, allocations: 0.5423 MB / 1.357 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.7004, allocations: 13.28 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.7005, allocations: 35.16 kB / 1.357 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.7007, allocations: 207.9 kB / 1.357 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.7007, allocations: 7.281 kB / 1.357 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.7008, allocations: 23.88 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002201/0.701, allocations: 113.4 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.7012, allocations: 144.4 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7012, allocations: 0 / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.7013, allocations: 0.8438 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.7013, allocations: 4.25 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.7022, allocations: 0.6963 MB / 1.358 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.7026, allocations: 158.6 kB / 1.358 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.7027, allocations: 68.66 kB / 1.358 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.7027, allocations: 6.078 kB / 1.358 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.7029, allocations: 127.3 kB / 1.358 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.7029, allocations: 0 / 1.358 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002947/0.7032, allocations: 150.6 kB / 1.358 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.7032, allocations: 58.78 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.7034, allocations: 192.3 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.7034, allocations: 32.27 kB / 1.359 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.7035, allocations: 132.2 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.7035, allocations: 41.45 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.7036, allocations: 6.906 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.7036, allocations: 334.6 kB / 1.359 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.7038, allocations: 99.3 kB / 1.359 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.704, allocations: 161.7 kB / 1.359 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.7044, allocations: 115.5 kB / 1.36 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7044, allocations: 0 / 1.36 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006673/0.7051, allocations: 316.1 kB / 1.36 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7051, allocations: 5.188 kB / 1.36 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7051, allocations: 1.766 kB / 1.36 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7052, allocations: 2.656 kB / 1.36 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.7052, allocations: 23.36 kB / 1.36 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7053, allocations: 2.547 kB / 1.36 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.7057, allocations: 114.1 kB / 1.36 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.7057, allocations: 14.03 kB / 1.36 GB, free: 13.15 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,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.7058, allocations: 124.6 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.7059, allocations: 20.56 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.7059, allocations: 26.33 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7059, allocations: 3.062 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7059, allocations: 0.7812 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.706, allocations: 5.109 kB / 1.36 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.7062, allocations: 259.5 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.7062, allocations: 4.422 kB / 1.36 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.7063, allocations: 17.61 kB / 1.361 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7063, allocations: 1.828 kB / 1.361 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7063, allocations: 2.625 kB / 1.361 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.7063, allocations: 5.312 kB / 1.361 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7063, allocations: 0.9688 kB / 1.361 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002346/0.7065, allocations: 192.5 kB / 1.361 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.7066, allocations: 90.84 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.7066, allocations: 3.875 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.7067, allocations: 26.42 kB / 1.361 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.7068, allocations: 32.41 kB / 1.361 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.7068, allocations: 5.984 kB / 1.361 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.32e-05/0.7069, allocations: 145.1 kB / 1.361 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002724/0.7072, allocations: 52.44 kB / 1.361 GB, free: 12.57 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.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.7074, allocations: 124.5 kB / 1.361 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.7078, allocations: 275.7 kB / 1.361 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7078, allocations: 0 / 1.361 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.7079, allocations: 79.19 kB / 1.361 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.7081, allocations: 33.52 kB / 1.362 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.7087, allocations: 251 kB / 1.362 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.709, allocations: 0.7741 MB / 1.363 GB, free: 27.56 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.709, allocations: 0 / 1.363 GB, free: 27.56 MB / 0.823 GB Notification: Performance of Templates: time 0.005923/0.7149, allocations: 3.258 MB / 1.366 GB, free: 25.52 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches