Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.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_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") [: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.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009656/0.0009656, allocations: 180.7 kB / 487 MB, free: 5.41 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.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 1.516 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.0008214/0.0008214, allocations: 101 kB / 0.9213 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.454e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1851, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6689, allocations: 151.2 MB / 1.353 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.6691, allocations: 75.62 kB / 1.353 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0134/0.6825, allocations: 5.192 MB / 1.358 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.6826, allocations: 13.89 kB / 1.358 GB, free: 15.84 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006453/0.6832, allocations: 0.5437 MB / 1.359 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.6832, allocations: 12.28 kB / 1.359 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.6833, allocations: 38.17 kB / 1.359 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.6838, allocations: 322.1 kB / 1.359 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6838, allocations: 7.75 kB / 1.359 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.6838, allocations: 16.52 kB / 1.359 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002608/0.6841, allocations: 131.8 kB / 1.359 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.6844, allocations: 200.1 kB / 1.359 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.6844, allocations: 0.7969 kB / 1.359 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.6845, allocations: 0.9375 kB / 1.359 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6845, allocations: 5.5 kB / 1.359 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.6855, allocations: 0.8151 MB / 1.36 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.6858, allocations: 156.6 kB / 1.36 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.686, allocations: 70.64 kB / 1.36 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.686, allocations: 4.969 kB / 1.36 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.6861, allocations: 96.08 kB / 1.36 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.6861, allocations: 0 / 1.36 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002967/0.6864, allocations: 146.9 kB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.6865, allocations: 83.95 kB / 1.361 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.6867, allocations: 210.2 kB / 1.361 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.6867, allocations: 27.89 kB / 1.361 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.6868, allocations: 151.6 kB / 1.361 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.6869, allocations: 40.58 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.6869, allocations: 1.812 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.6869, allocations: 338 kB / 1.361 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.6871, allocations: 63.61 kB / 1.361 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.6872, allocations: 112.2 kB / 1.362 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.6875, allocations: 76.31 kB / 1.362 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6875, allocations: 0 / 1.362 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004108/0.6879, allocations: 223 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.688, allocations: 364.6 kB / 1.362 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.688, allocations: 0 / 1.362 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.688, allocations: 4 kB / 1.362 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.6882, allocations: 39.39 kB / 1.362 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6882, allocations: 4.797 kB / 1.362 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.6885, allocations: 72.92 kB / 1.362 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6885, allocations: 13.41 kB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-06/0.6885, allocations: 2.5 kB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003509/0.6889, allocations: 172 kB / 1.362 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.6889, allocations: 3.938 kB / 1.362 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-06/0.6889, allocations: 4 kB / 1.362 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6891, allocations: 33.61 kB / 1.363 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.6891, allocations: 3.938 kB / 1.363 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.6893, allocations: 64.42 kB / 1.363 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.6894, allocations: 13.02 kB / 1.363 GB, free: 12.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 6.614e-05/0.6894, allocations: 113.9 kB / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.6895, allocations: 23.72 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.6895, allocations: 19.62 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6895, allocations: 8 kB / 1.363 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6895, allocations: 4 kB / 1.363 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6895, allocations: 1.312 kB / 1.363 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.6897, allocations: 277.1 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6898, allocations: 0 / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.6899, allocations: 35.17 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6899, allocations: 4 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.6899, allocations: 5.172 kB / 1.363 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6899, allocations: 0 / 1.363 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.69, allocations: 4.422 kB / 1.363 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001868/0.6901, allocations: 174.6 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.6902, allocations: 94.7 kB / 1.363 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.6902, allocations: 1.359 kB / 1.363 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.6904, allocations: 24.31 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.6904, allocations: 13.61 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.6904, allocations: 5.125 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.966e-05/0.6905, allocations: 160.8 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00034/0.6909, allocations: 100.6 kB / 1.364 GB, free: 12.08 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: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001101/0.691, allocations: 116.9 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.6914, allocations: 306.2 kB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.6914, allocations: 0 / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.6915, allocations: 66.39 kB / 1.364 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.6918, allocations: 49.47 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.6924, allocations: 306.1 kB / 1.364 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.6927, allocations: 0.7977 MB / 1.365 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of SimCode: time 2.21e-07/0.6927, allocations: 0 / 1.365 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.006373/0.699, allocations: 4.048 MB / 1.369 GB, free: 7.039 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches