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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001189/0.001189, allocations: 173.2 kB / 498.1 MB, free: 5.73 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.402/1.402, allocations: 223.2 MB / 0.7949 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 104.2 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8.469 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/5.512, allocations: 2.222 GB / 3.445 GB, free: 207 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/5.512, allocations: 113.5 kB / 3.445 GB, free: 206.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.075/12.59, allocations: 1.72 GB / 5.166 GB, free: 127.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.056e-06/12.59, allocations: 3.875 kB / 5.166 GB, free: 127.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0009506/12.59, allocations: 98.45 kB / 5.166 GB, free: 127.1 MB / 1.198 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.02444/12.61, allocations: 4.54 MB / 5.17 GB, free: 125.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/12.61, allocations: 9.281 kB / 5.17 GB, free: 125.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/12.62, allocations: 1.419 MB / 5.172 GB, free: 125.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/12.64, allocations: 4.205 MB / 5.176 GB, free: 124.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009225/12.64, allocations: 329.5 kB / 5.176 GB, free: 124.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/12.64, allocations: 250.8 kB / 5.176 GB, free: 124.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/12.66, allocations: 3.059 MB / 5.179 GB, free: 124 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/12.66, allocations: 5.312 kB / 5.179 GB, free: 124 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/12.66, allocations: 99.02 kB / 5.179 GB, free: 124 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/12.66, allocations: 91.25 kB / 5.179 GB, free: 124 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/12.67, allocations: 2.979 MB / 5.182 GB, free: 124 MB / 1.198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/12.7, allocations: 12.88 MB / 5.195 GB, free: 118.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/12.7, allocations: 2.685 MB / 5.197 GB, free: 117.9 MB / 1.198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01364/12.72, allocations: 5.546 MB / 5.203 GB, free: 115.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002681/12.72, allocations: 1.197 MB / 5.204 GB, free: 115.4 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00228/12.72, allocations: 247.9 kB / 5.204 GB, free: 115.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=146): time 8.405e-06/12.72, allocations: 0 / 5.204 GB, free: 115.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=146): time 0.008415/12.73, allocations: 2.975 MB / 5.207 GB, free: 115.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/12.73, allocations: 176.2 kB / 5.207 GB, free: 114.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/12.74, allocations: 2.914 MB / 5.21 GB, free: 114.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006391/12.74, allocations: 64.47 kB / 5.21 GB, free: 114.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/12.74, allocations: 1.607 MB / 5.212 GB, free: 114.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007613/12.74, allocations: 496.5 kB / 5.212 GB, free: 113.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/12.74, allocations: 37.7 kB / 5.212 GB, free: 113.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001286/12.74, allocations: 381.3 kB / 5.213 GB, free: 113.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/12.74, allocations: 0.9778 MB / 5.214 GB, free: 113.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/12.75, allocations: 1.608 MB / 5.215 GB, free: 112.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/12.75, allocations: 1.104 MB / 5.216 GB, free: 112.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/12.75, allocations: 4.875 kB / 5.216 GB, free: 112.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.007659/12.76, allocations: 2.834 MB / 5.219 GB, free: 112.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001371/12.76, allocations: 5.821 MB / 5.225 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/12.76, allocations: 13.28 kB / 5.225 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.629e-05/12.76, allocations: 29.17 kB / 5.225 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/12.76, allocations: 0.5473 MB / 5.225 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.932e-05/12.76, allocations: 35.31 kB / 5.225 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/12.77, allocations: 372.5 kB / 5.226 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/12.77, allocations: 110.1 kB / 5.226 GB, free: 106.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/12.77, allocations: 1.094 kB / 5.226 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005869/12.77, allocations: 2.452 MB / 5.228 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/12.77, allocations: 13.69 kB / 5.228 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/12.77, allocations: 21.97 kB / 5.228 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/12.77, allocations: 0.5346 MB / 5.229 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/12.77, allocations: 27.03 kB / 5.229 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/12.78, allocations: 331.3 kB / 5.229 GB, free: 106.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/12.78, allocations: 103.5 kB / 5.229 GB, free: 106.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 231 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002968/12.78, allocations: 0.7848 MB / 5.23 GB, free: 106.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/12.78, allocations: 340.2 kB / 5.23 GB, free: 106.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/12.79, allocations: 2.5 MB / 5.233 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/12.79, allocations: 17.25 kB / 5.233 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/12.79, allocations: 0 / 5.233 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004661/12.8, allocations: 2.226 MB / 5.235 GB, free: 105.5 MB / 1.198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/12.81, allocations: 5.691 MB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/12.81, allocations: 7.562 kB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/12.81, allocations: 393.9 kB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/12.81, allocations: 11.38 kB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/12.81, allocations: 52.59 kB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/12.81, allocations: 9.438 kB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/12.81, allocations: 3.969 kB / 5.241 GB, free: 104.8 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008693/12.82, allocations: 4.075 MB / 5.245 GB, free: 103.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/12.83, allocations: 0.6881 MB / 5.246 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/12.83, allocations: 38.8 kB / 5.246 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/12.83, allocations: 280.4 kB / 5.246 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/12.83, allocations: 110.5 kB / 5.246 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/12.83, allocations: 78.39 kB / 5.246 GB, free: 103.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.004903/12.84, allocations: 2.255 MB / 5.248 GB, free: 103.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.81e-07/12.84, allocations: 0 / 5.248 GB, free: 103.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01039/12.85, allocations: 1.97 MB / 5.25 GB, free: 103.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 148 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007482/12.85, allocations: 3.811 MB / 5.254 GB, free: 101.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009639/12.86, allocations: 3.543 MB / 5.257 GB, free: 101.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/12.86, allocations: 3.719 kB / 5.257 GB, free: 101.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/12.87, allocations: 1.044 MB / 5.258 GB, free: 101.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008684/12.88, allocations: 1.491 MB / 5.26 GB, free: 101.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/12.9, allocations: 7.786 MB / 5.267 GB, free: 98.61 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003908/12.9, allocations: 2.092 MB / 5.27 GB, free: 97.83 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.007033/12.91, allocations: 0.8551 MB / 5.27 GB, free: 97.68 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/12.91, allocations: 277.6 kB / 5.271 GB, free: 97.67 MB / 1.198 GB Notification: Performance of SimCode: time 1.804e-06/12.91, allocations: 0 / 5.271 GB, free: 97.67 MB / 1.198 GB Notification: Performance of Templates: time 0.1619/13.07, allocations: 87.19 MB / 5.356 GB, free: 68.23 MB / 1.198 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