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.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") [: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.29/1.29, allocations: 249.4 MB / 256.7 MB, free: 7.125 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.001012/0.001012, allocations: 185 kB / 316 MB, free: 3.555 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.503/1.503, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.001061/0.001061, allocations: 93.69 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.347e-06/9.367e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5845/0.7907, allocations: 135.8 MB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.791, allocations: 77.81 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0401/0.8312, allocations: 16.2 MB / 1.033 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.473e-05/0.8313, allocations: 24 kB / 1.033 GB, free: 5.449 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001989/0.8333, allocations: 1.147 MB / 1.034 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8333, allocations: 15.97 kB / 1.034 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.8335, allocations: 122.5 kB / 1.034 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.8344, allocations: 0.5852 MB / 1.035 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.8346, allocations: 127 kB / 1.035 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.8347, allocations: 59 kB / 1.035 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001102/0.8358, allocations: 0.6128 MB / 1.036 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.837, allocations: 0.741 MB / 1.037 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.837, allocations: 4 kB / 1.037 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.8371, allocations: 4 kB / 1.037 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.8371, allocations: 23.91 kB / 1.037 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.8411, allocations: 2.617 MB / 1.039 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.8421, allocations: 0.5112 MB / 1.04 GB, free: 240 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.8425, allocations: 243 kB / 1.04 GB, free: 100 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.8425, allocations: 16.64 kB / 1.04 GB, free: 84 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.8431, allocations: 386.7 kB / 1.04 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/0.8431, allocations: 0 / 1.04 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.0008831/0.844, allocations: 0.5141 MB / 1.041 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.8441, allocations: 298.5 kB / 1.041 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.8446, allocations: 493.9 kB / 1.042 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.8447, allocations: 29.7 kB / 1.042 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.8449, allocations: 346.4 kB / 1.042 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.8451, allocations: 223.1 kB / 1.042 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.8452, allocations: 0 / 1.042 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8453, allocations: 379.6 kB / 1.042 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.8457, allocations: 209.4 kB / 1.043 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.8461, allocations: 347.1 kB / 1.043 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.8465, allocations: 242.8 kB / 1.043 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8465, allocations: 0 / 1.043 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009346/0.8474, allocations: 0.6173 MB / 1.044 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/0.8476, allocations: 279.4 kB / 1.044 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8476, allocations: 7.906 kB / 1.044 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.8476, allocations: 4 kB / 1.044 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.8483, allocations: 159.6 kB / 1.044 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.8483, allocations: 4 kB / 1.044 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.8489, allocations: 127.4 kB / 1.044 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.8489, allocations: 22.69 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/0.849, allocations: 8 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008526/0.8498, allocations: 0.5015 MB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.8498, allocations: 0 / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.8498, allocations: 7.938 kB / 1.045 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.8504, allocations: 131 kB / 1.045 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8504, allocations: 7.938 kB / 1.045 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.8509, allocations: 99.56 kB / 1.045 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.8509, allocations: 23.19 kB / 1.045 GB, free: 11.66 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0001607/0.8511, allocations: 124.8 kB / 1.045 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8512, allocations: 75.06 kB / 1.045 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.8522, allocations: 0.5897 MB / 1.046 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.8522, allocations: 8 kB / 1.046 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8522, allocations: 0 / 1.046 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8523, allocations: 7.984 kB / 1.046 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.8542, allocations: 1.497 MB / 1.047 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8542, allocations: 4.281 kB / 1.047 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.8548, allocations: 155.2 kB / 1.048 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.8549, allocations: 4 kB / 1.048 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.8549, allocations: 15.98 kB / 1.048 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.8549, allocations: 7.938 kB / 1.048 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8549, allocations: 0 / 1.048 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00138/0.8563, allocations: 1.137 MB / 1.049 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.8565, allocations: 155.7 kB / 1.049 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.8566, allocations: 7.938 kB / 1.049 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.8571, allocations: 87.92 kB / 1.049 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.8572, allocations: 51.33 kB / 1.049 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.8573, allocations: 22.62 kB / 1.049 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004123/0.8577, allocations: 372.8 kB / 1.049 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007812/0.8585, allocations: 314.3 kB / 1.05 GB, free: 7.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * 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.0001986/0.8587, allocations: 118.7 kB / 1.05 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.86, allocations: 0.8531 MB / 1.051 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.86, allocations: 4 kB / 1.051 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.8605, allocations: 310.6 kB / 1.051 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.8613, allocations: 166.5 kB / 1.051 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.8638, allocations: 1.152 MB / 1.052 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007505/0.8646, allocations: 1.094 MB / 1.053 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of SimCode: time 4.4e-07/0.8646, allocations: 0 / 1.053 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of Templates: time 0.02149/0.8861, allocations: 11.99 MB / 1.065 GB, free: 8.895 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches