Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") [: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.697/1.697, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0008625/0.0008624, allocations: 173.3 kB / 487 MB, free: 5.359 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.066/1.066, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.0008172/0.0008174, allocations: 94.06 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.87e-06/4.879e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1631, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.803/2.966, allocations: 2.222 GB / 3.427 GB, free: 70.35 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/2.966, allocations: 102.5 kB / 3.427 GB, free: 70.29 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.001/6.968, allocations: 1.718 GB / 5.145 GB, free: 116.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002779/6.968, allocations: 104 kB / 5.145 GB, free: 116.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.005898/6.974, allocations: 3.738 MB / 5.148 GB, free: 114.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/6.974, allocations: 8.906 kB / 5.148 GB, free: 114.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00902/6.983, allocations: 1.606 MB / 5.15 GB, free: 113.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008507/6.991, allocations: 4.219 MB / 5.154 GB, free: 110.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004216/6.992, allocations: 250.4 kB / 5.154 GB, free: 110.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/6.992, allocations: 144 kB / 5.154 GB, free: 110.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003318/6.995, allocations: 2.285 MB / 5.157 GB, free: 108 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/6.999, allocations: 2.429 MB / 5.159 GB, free: 105.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/6.999, allocations: 4 kB / 5.159 GB, free: 105.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/6.999, allocations: 10.17 kB / 5.159 GB, free: 105.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/6.999, allocations: 84.27 kB / 5.159 GB, free: 105.3 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/7.015, allocations: 13.38 MB / 5.172 GB, free: 91.48 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/7.018, allocations: 1.735 MB / 5.174 GB, free: 89.75 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/7.019, allocations: 0.9321 MB / 5.175 GB, free: 88.83 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008767/7.028, allocations: 5.91 MB / 5.18 GB, free: 82.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/7.029, allocations: 0.9773 MB / 5.181 GB, free: 81.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=150): time 3.426e-06/7.029, allocations: 2.531 kB / 5.181 GB, free: 81.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=150): time 0.00383/7.033, allocations: 2.013 MB / 5.183 GB, free: 79.56 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/7.033, allocations: 175.5 kB / 5.184 GB, free: 79.36 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/7.035, allocations: 2.409 MB / 5.186 GB, free: 76.95 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/7.035, allocations: 29.7 kB / 5.186 GB, free: 76.91 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/7.036, allocations: 0.9886 MB / 5.187 GB, free: 75.91 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/7.036, allocations: 498.5 kB / 5.187 GB, free: 75.41 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/7.036, allocations: 0 / 5.187 GB, free: 75.41 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/7.036, allocations: 381.9 kB / 5.188 GB, free: 75.04 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009268/7.037, allocations: 0.7216 MB / 5.188 GB, free: 74.32 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/7.039, allocations: 1.349 MB / 5.19 GB, free: 72.71 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/7.041, allocations: 1.023 MB / 5.191 GB, free: 71.71 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/7.041, allocations: 4 kB / 5.191 GB, free: 71.71 MB / 1.182 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00391/7.045, allocations: 2.503 MB / 5.193 GB, free: 69.18 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006513/7.045, allocations: 5.826 MB / 5.199 GB, free: 62.88 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/7.045, allocations: 18.97 kB / 5.199 GB, free: 62.86 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/7.045, allocations: 51.91 kB / 5.199 GB, free: 62.81 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/7.048, allocations: 0.5859 MB / 5.2 GB, free: 62.24 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006843/7.049, allocations: 1.365 MB / 5.201 GB, free: 60.76 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/7.052, allocations: 437.3 kB / 5.201 GB, free: 60.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/7.052, allocations: 115.9 kB / 5.201 GB, free: 60.25 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-06/7.052, allocations: 4 kB / 5.201 GB, free: 60.25 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003463/7.055, allocations: 2.109 MB / 5.203 GB, free: 58.13 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/7.055, allocations: 19.94 kB / 5.204 GB, free: 58.11 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.899e-05/7.055, allocations: 48.84 kB / 5.204 GB, free: 58.06 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/7.058, allocations: 0.5702 MB / 5.204 GB, free: 57.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005982/7.058, allocations: 1.373 MB / 5.205 GB, free: 56.03 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/7.061, allocations: 365.1 kB / 5.206 GB, free: 55.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/7.061, allocations: 111.9 kB / 5.206 GB, free: 55.59 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 232 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003214/7.062, allocations: 169.7 kB / 5.206 GB, free: 55.42 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/7.062, allocations: 320 kB / 5.206 GB, free: 55.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/7.066, allocations: 2.31 MB / 5.209 GB, free: 52.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/7.066, allocations: 16 kB / 5.209 GB, free: 52.79 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/7.066, allocations: 11.25 kB / 5.209 GB, free: 52.78 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002561/7.068, allocations: 1.963 MB / 5.211 GB, free: 50.71 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/7.075, allocations: 5.16 MB / 5.216 GB, free: 45.47 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/7.075, allocations: 4 kB / 5.216 GB, free: 45.46 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/7.077, allocations: 420.1 kB / 5.216 GB, free: 45.07 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.98e-05/7.077, allocations: 42.05 kB / 5.216 GB, free: 45.03 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/7.077, allocations: 35.95 kB / 5.216 GB, free: 45 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005794/7.078, allocations: 1.34 MB / 5.217 GB, free: 43.55 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/7.078, allocations: 7.938 kB / 5.217 GB, free: 43.54 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004039/7.082, allocations: 3.604 MB / 5.221 GB, free: 39.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/7.083, allocations: 0.6879 MB / 5.222 GB, free: 39.09 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/7.083, allocations: 11.92 kB / 5.222 GB, free: 39.08 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/7.086, allocations: 270.6 kB / 5.222 GB, free: 38.84 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/7.086, allocations: 89.17 kB / 5.222 GB, free: 38.76 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/7.086, allocations: 90.88 kB / 5.222 GB, free: 38.68 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001762/7.088, allocations: 1.8 MB / 5.224 GB, free: 36.89 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004519/7.092, allocations: 1.921 MB / 5.226 GB, free: 34.96 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,TRet.T,pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003591/7.096, allocations: 3.811 MB / 5.229 GB, free: 31.57 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003504/7.1, allocations: 3.133 MB / 5.232 GB, free: 28.43 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/7.1, allocations: 8.188 kB / 5.232 GB, free: 28.42 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009957/7.101, allocations: 0.9515 MB / 5.233 GB, free: 27.46 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/7.105, allocations: 1.168 MB / 5.235 GB, free: 26.33 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/7.112, allocations: 4.965 MB / 5.239 GB, free: 21.33 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/7.114, allocations: 2.434 MB / 5.242 GB, free: 18.87 MB / 1.182 GB Notification: Performance of SimCode: time 3.01e-07/7.114, allocations: 6.516 kB / 5.242 GB, free: 18.86 MB / 1.182 GB Notification: Performance of Templates: time 0.4289/7.543, allocations: 83.37 MB / 5.323 GB, free: 256.1 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.csv","../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches