Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") [: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 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 189.2 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 92.73 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/7.885e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.6978, allocations: 133 MB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.698, allocations: 82.06 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00812/0.7062, allocations: 2.862 MB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.7062, allocations: 4 kB / 1.017 GB, free: 3.078 MB / 0.6355 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.0008665/0.7071, allocations: 0.5252 MB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.7071, allocations: 12.03 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.7072, allocations: 27.7 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.7074, allocations: 198.8 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.7074, allocations: 7.188 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.7074, allocations: 12 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002564/0.7077, allocations: 122.1 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.708, allocations: 150.4 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.708, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.708, allocations: 3.312 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.708, allocations: 8 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.7089, allocations: 0.585 MB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.7092, allocations: 145.9 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7093, allocations: 56.36 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.7094, allocations: 4 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.7096, allocations: 123.7 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.7096, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0003203/0.7099, allocations: 155.5 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.7099, allocations: 55.41 kB / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.7101, allocations: 184.1 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.7102, allocations: 25.7 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.7103, allocations: 126.7 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.7103, allocations: 57.2 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.7103, allocations: 0 / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7105, allocations: 331.1 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.7106, allocations: 66.56 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.7107, allocations: 104.4 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.535e-05/0.7108, allocations: 60.34 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7109, allocations: 0 / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002979/0.7112, allocations: 192.1 kB / 1.021 GB, free: 108 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.7112, allocations: 4 kB / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.7112, allocations: 0 / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7112, allocations: 4 kB / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.7115, allocations: 54.77 kB / 1.021 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7115, allocations: 3.984 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.7118, allocations: 59.86 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.7118, allocations: 7.188 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,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.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001033/0.7119, allocations: 118.7 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.712, allocations: 19.72 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.712, allocations: 26.7 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.712, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.712, allocations: 4 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7121, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.7123, allocations: 263.8 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7123, allocations: 4 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.7125, allocations: 35.97 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7125, allocations: 0 / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.7125, allocations: 3.984 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7125, allocations: 4 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7125, allocations: 4 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002547/0.7128, allocations: 183.4 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.7128, allocations: 92.92 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.7129, allocations: 3.938 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.7131, allocations: 47.89 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7133, allocations: 53.66 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.7133, allocations: 8 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.391e-05/0.7134, allocations: 135.2 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002314/0.7136, allocations: 39.94 kB / 1.022 GB, free: 15 MB / 0.6511 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 ($whenCondition2,$whenCondition1,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.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001682/0.7138, allocations: 118.2 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.7141, allocations: 162.2 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7141, allocations: 0 / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.7143, allocations: 89.56 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.7146, allocations: 27.05 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.7153, allocations: 236 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.7157, allocations: 0.77 MB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.7157, allocations: 0 / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of Templates: time 0.005524/0.7213, allocations: 2.762 MB / 1.026 GB, free: 10.97 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches