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.224/2.224, allocations: 387.1 MB / 399.7 MB, free: 9.43 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: 169 kB / 492.3 MB, free: 0.6055 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.578/1.578, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001313/0.001312, allocations: 87.47 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.068e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3122, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.423/5.735, allocations: 2.222 GB / 3.435 GB, free: 77.77 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/5.735, allocations: 100.8 kB / 3.435 GB, free: 77.68 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.854/12.59, allocations: 1.717 GB / 5.151 GB, free: 111.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.525e-06/12.59, allocations: 0 / 5.151 GB, free: 111.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0007994/12.59, allocations: 96.61 kB / 5.151 GB, free: 111.3 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.01403/12.6, allocations: 3.698 MB / 5.155 GB, free: 107.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/12.6, allocations: 12.03 kB / 5.155 GB, free: 107.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/12.62, allocations: 1.42 MB / 5.156 GB, free: 106.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/12.63, allocations: 4.165 MB / 5.161 GB, free: 102.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007324/12.63, allocations: 322.7 kB / 5.161 GB, free: 101.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/12.63, allocations: 242.2 kB / 5.161 GB, free: 101.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009012/12.64, allocations: 2.763 MB / 5.164 GB, free: 98.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/12.64, allocations: 7.938 kB / 5.164 GB, free: 98.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00066/12.64, allocations: 96 kB / 5.164 GB, free: 98.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/12.64, allocations: 87.62 kB / 5.164 GB, free: 98.52 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005478/12.65, allocations: 2.363 MB / 5.166 GB, free: 96.14 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.02569/12.67, allocations: 12.89 MB / 5.179 GB, free: 82.74 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/12.68, allocations: 2.205 MB / 5.181 GB, free: 80.43 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/12.68, allocations: 0.8629 MB / 5.182 GB, free: 79.57 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.01221/12.69, allocations: 5.59 MB / 5.187 GB, free: 73.64 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/12.69, allocations: 0.9584 MB / 5.188 GB, free: 72.66 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002178/12.69, allocations: 252.7 kB / 5.188 GB, free: 72.43 MB / 1.182 GB Notification: Performance of pre-optimization done (n=146): time 9.909e-06/12.69, allocations: 0 / 5.188 GB, free: 72.43 MB / 1.182 GB Notification: Performance of matching and sorting (n=146): time 0.004193/12.7, allocations: 1.71 MB / 5.19 GB, free: 70.71 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/12.7, allocations: 171.5 kB / 5.19 GB, free: 70.51 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007489/12.71, allocations: 2.834 MB / 5.193 GB, free: 67.69 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006712/12.71, allocations: 61.7 kB / 5.193 GB, free: 67.62 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00213/12.71, allocations: 1.598 MB / 5.195 GB, free: 66.02 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009085/12.71, allocations: 0.496 MB / 5.195 GB, free: 65.53 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/12.71, allocations: 36 kB / 5.195 GB, free: 65.49 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002018/12.71, allocations: 373.9 kB / 5.196 GB, free: 65.12 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/12.71, allocations: 0.7029 MB / 5.196 GB, free: 64.42 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/12.71, allocations: 1.334 MB / 5.198 GB, free: 62.84 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/12.72, allocations: 0.8263 MB / 5.198 GB, free: 62.04 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/12.72, allocations: 4 kB / 5.198 GB, free: 62.04 MB / 1.182 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.005447/12.72, allocations: 2.269 MB / 5.201 GB, free: 59.77 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001605/12.72, allocations: 5.818 MB / 5.206 GB, free: 53.56 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/12.72, allocations: 12 kB / 5.206 GB, free: 53.55 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.446e-05/12.72, allocations: 31.94 kB / 5.206 GB, free: 53.52 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/12.73, allocations: 0.5493 MB / 5.207 GB, free: 52.97 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.663e-05/12.73, allocations: 35.92 kB / 5.207 GB, free: 52.94 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/12.73, allocations: 375.2 kB / 5.207 GB, free: 52.57 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/12.73, allocations: 104 kB / 5.207 GB, free: 52.47 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/12.73, allocations: 5.094 kB / 5.207 GB, free: 52.46 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004108/12.73, allocations: 1.927 MB / 5.209 GB, free: 50.54 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.292e-05/12.74, allocations: 16 kB / 5.209 GB, free: 50.53 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/12.74, allocations: 28.16 kB / 5.209 GB, free: 50.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/12.74, allocations: 0.529 MB / 5.21 GB, free: 49.97 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.151e-05/12.74, allocations: 35.91 kB / 5.21 GB, free: 49.94 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/12.74, allocations: 327.4 kB / 5.21 GB, free: 49.62 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/12.74, allocations: 104 kB / 5.21 GB, free: 49.52 MB / 1.182 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 () * 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.0007798/12.74, allocations: 234.4 kB / 5.21 GB, free: 49.28 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/12.74, allocations: 339.7 kB / 5.211 GB, free: 48.95 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/12.75, allocations: 2.041 MB / 5.213 GB, free: 46.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/12.75, allocations: 19.98 kB / 5.213 GB, free: 46.88 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/12.75, allocations: 1.859 kB / 5.213 GB, free: 46.88 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002639/12.75, allocations: 1.764 MB / 5.215 GB, free: 45.03 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.01311/12.77, allocations: 5.212 MB / 5.22 GB, free: 39.75 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/12.77, allocations: 8.031 kB / 5.22 GB, free: 39.74 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/12.77, allocations: 395.5 kB / 5.22 GB, free: 39.36 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.199e-05/12.77, allocations: 8 kB / 5.22 GB, free: 39.35 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/12.77, allocations: 51.95 kB / 5.22 GB, free: 39.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/12.77, allocations: 8 kB / 5.22 GB, free: 39.29 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/12.77, allocations: 4 kB / 5.22 GB, free: 39.29 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/12.77, allocations: 3.401 MB / 5.223 GB, free: 35.78 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/12.78, allocations: 0.6917 MB / 5.224 GB, free: 35.06 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/12.78, allocations: 36 kB / 5.224 GB, free: 35.03 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/12.78, allocations: 279.6 kB / 5.224 GB, free: 34.75 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/12.78, allocations: 109.1 kB / 5.224 GB, free: 34.65 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/12.78, allocations: 82.02 kB / 5.225 GB, free: 34.57 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.005424/12.79, allocations: 2.167 MB / 5.227 GB, free: 32.42 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.41e-07/12.79, allocations: 0 / 5.227 GB, free: 32.42 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0102/12.8, allocations: 1.981 MB / 5.229 GB, free: 30.44 MB / 1.182 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) * 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.007723/12.81, allocations: 3.783 MB / 5.232 GB, free: 26.94 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006439/12.81, allocations: 2.889 MB / 5.235 GB, free: 24.05 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/12.81, allocations: 5.938 kB / 5.235 GB, free: 24.04 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/12.81, allocations: 0.8239 MB / 5.236 GB, free: 23.22 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/12.82, allocations: 1.498 MB / 5.237 GB, free: 21.79 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/12.84, allocations: 5.286 MB / 5.243 GB, free: 16.48 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/12.85, allocations: 2.09 MB / 5.245 GB, free: 14.37 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.008832/12.86, allocations: 1.261 MB / 5.246 GB, free: 13.17 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/12.86, allocations: 211.3 kB / 5.246 GB, free: 12.96 MB / 1.182 GB Notification: Performance of SimCode: time 1.292e-06/12.86, allocations: 0 / 5.246 GB, free: 12.96 MB / 1.182 GB Notification: Performance of Templates: time 1.085/13.94, allocations: 99.51 MB / 5.343 GB, free: 141.7 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