Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.166/1.166, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.0009442/0.000944, allocations: 193 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9978/0.9978, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0007879/0.0007879, allocations: 103 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.199e-06/5.22e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.485/3.622, allocations: 2.511 GB / 3.396 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/3.622, allocations: 102 kB / 3.396 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.347/7.969, allocations: 1.658 GB / 5.053 GB, free: 84.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000307/7.969, allocations: 100.7 kB / 5.054 GB, free: 84.05 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.006418/7.976, allocations: 3.794 MB / 5.057 GB, free: 82.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/7.976, allocations: 9.781 kB / 5.057 GB, free: 82.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008351/7.984, allocations: 1.52 MB / 5.059 GB, free: 82.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007795/7.992, allocations: 4.18 MB / 5.063 GB, free: 81.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004463/7.992, allocations: 244 kB / 5.063 GB, free: 81.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/7.993, allocations: 151.1 kB / 5.063 GB, free: 81.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003427/7.996, allocations: 2.277 MB / 5.065 GB, free: 81.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/8, allocations: 2.442 MB / 5.068 GB, free: 81.35 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/8, allocations: 8.422 kB / 5.068 GB, free: 81.35 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/8, allocations: 4.688 kB / 5.068 GB, free: 81.35 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/8, allocations: 93.39 kB / 5.068 GB, free: 81.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/8.017, allocations: 13.31 MB / 5.081 GB, free: 75.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/8.02, allocations: 1.724 MB / 5.083 GB, free: 75.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/8.021, allocations: 0.9129 MB / 5.084 GB, free: 75.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00913/8.03, allocations: 5.873 MB / 5.089 GB, free: 72.79 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/8.031, allocations: 0.9636 MB / 5.09 GB, free: 72.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=149): time 2.595e-06/8.031, allocations: 0 / 5.09 GB, free: 72.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=149): time 0.004073/8.035, allocations: 2.005 MB / 5.092 GB, free: 72.38 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/8.035, allocations: 230.9 kB / 5.092 GB, free: 72.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/8.038, allocations: 2.423 MB / 5.095 GB, free: 71.88 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/8.038, allocations: 28.42 kB / 5.095 GB, free: 71.85 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/8.039, allocations: 0.992 MB / 5.096 GB, free: 71.33 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/8.039, allocations: 496.7 kB / 5.096 GB, free: 71.01 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/8.039, allocations: 2.469 kB / 5.096 GB, free: 71.01 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/8.039, allocations: 378.4 kB / 5.097 GB, free: 70.71 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/8.04, allocations: 0.7323 MB / 5.097 GB, free: 70.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/8.042, allocations: 1.387 MB / 5.099 GB, free: 69.96 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/8.044, allocations: 1.045 MB / 5.1 GB, free: 69.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/8.044, allocations: 3.375 kB / 5.1 GB, free: 69.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004202/8.048, allocations: 2.549 MB / 5.102 GB, free: 69.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007723/8.049, allocations: 5.826 MB / 5.108 GB, free: 63.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/8.049, allocations: 15.53 kB / 5.108 GB, free: 63.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/8.049, allocations: 59.67 kB / 5.108 GB, free: 63.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/8.052, allocations: 0.5729 MB / 5.108 GB, free: 63.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007464/8.052, allocations: 1.367 MB / 5.11 GB, free: 62.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/8.056, allocations: 431.6 kB / 5.11 GB, free: 62.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/8.056, allocations: 114.9 kB / 5.11 GB, free: 62.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/8.056, allocations: 7.406 kB / 5.11 GB, free: 62.06 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/8.06, allocations: 2.149 MB / 5.112 GB, free: 61.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/8.06, allocations: 19.75 kB / 5.112 GB, free: 61.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.738e-05/8.06, allocations: 51 kB / 5.113 GB, free: 61.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/8.062, allocations: 0.5584 MB / 5.113 GB, free: 61.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/8.063, allocations: 1.372 MB / 5.114 GB, free: 60.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/8.066, allocations: 363.5 kB / 5.115 GB, free: 60.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/8.066, allocations: 115.7 kB / 5.115 GB, free: 60.57 MB / 0.9636 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 (235): * Single equations (assignments): 231 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.000339/8.066, allocations: 168 kB / 5.115 GB, free: 60.45 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/8.066, allocations: 321.2 kB / 5.115 GB, free: 60.29 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/8.071, allocations: 2.295 MB / 5.118 GB, free: 60.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/8.071, allocations: 18.97 kB / 5.118 GB, free: 60.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/8.071, allocations: 6.344 kB / 5.118 GB, free: 60.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002677/8.073, allocations: 1.964 MB / 5.12 GB, free: 59.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006984/8.08, allocations: 5.126 MB / 5.125 GB, free: 58.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/8.08, allocations: 5.281 kB / 5.125 GB, free: 58.67 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/8.082, allocations: 422.2 kB / 5.125 GB, free: 58.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/8.082, allocations: 31.42 kB / 5.125 GB, free: 58.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/8.083, allocations: 36.02 kB / 5.125 GB, free: 58.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006176/8.083, allocations: 1.355 MB / 5.126 GB, free: 57.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/8.083, allocations: 5.219 kB / 5.126 GB, free: 57.39 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004322/8.088, allocations: 3.595 MB / 5.13 GB, free: 56.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/8.089, allocations: 0.687 MB / 5.13 GB, free: 56.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/8.089, allocations: 6.781 kB / 5.131 GB, free: 56.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/8.091, allocations: 262.9 kB / 5.131 GB, free: 56.11 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/8.092, allocations: 88.08 kB / 5.131 GB, free: 56.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/8.092, allocations: 82.92 kB / 5.131 GB, free: 56.11 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001957/8.094, allocations: 1.808 MB / 5.133 GB, free: 55.96 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004812/8.099, allocations: 1.96 MB / 5.135 GB, free: 55.66 MB / 0.9636 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.x[1],pum.filter.x[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 (162): * Single equations (assignments): 150 * 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.004006/8.103, allocations: 3.868 MB / 5.138 GB, free: 54.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003933/8.107, allocations: 3.221 MB / 5.142 GB, free: 54.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/8.107, allocations: 0 / 5.142 GB, free: 54.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/8.108, allocations: 0.9418 MB / 5.142 GB, free: 53.92 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/8.112, allocations: 1.185 MB / 5.144 GB, free: 53.89 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/8.12, allocations: 4.936 MB / 5.148 GB, free: 52.69 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/8.122, allocations: 2.437 MB / 5.151 GB, free: 51.93 MB / 0.9636 GB Notification: Performance of SimCode: time 1.152e-06/8.122, allocations: 0 / 5.151 GB, free: 51.93 MB / 0.9636 GB Notification: Performance of Templates: time 0.1036/8.225, allocations: 84.14 MB / 5.233 GB, free: 46.38 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches