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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 183.7 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009294/0.0009294, allocations: 93.73 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 12.61 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2912, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.339/6.63, allocations: 2.511 GB / 3.411 GB, free: 225 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/6.63, allocations: 112.9 kB / 3.411 GB, free: 225 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.624/12.25, allocations: 1.661 GB / 5.072 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.014e-06/12.25, allocations: 0 / 5.072 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005271/12.25, allocations: 91.97 kB / 5.072 GB, free: 14.31 MB / 0.9167 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.01575/12.27, allocations: 4.589 MB / 5.076 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/12.27, allocations: 11.97 kB / 5.076 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/12.28, allocations: 1.331 MB / 5.078 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/12.29, allocations: 4.187 MB / 5.082 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007518/12.3, allocations: 332.3 kB / 5.082 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/12.3, allocations: 244 kB / 5.082 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/12.31, allocations: 3.053 MB / 5.085 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/12.31, allocations: 0 / 5.085 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/12.31, allocations: 99.98 kB / 5.085 GB, free: 176 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/12.31, allocations: 87.02 kB / 5.085 GB, free: 88 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/12.32, allocations: 2.936 MB / 5.088 GB, free: 13.13 MB / 0.9323 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.03358/12.35, allocations: 12.84 MB / 5.101 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/12.36, allocations: 2.643 MB / 5.103 GB, free: 12.81 MB / 0.948 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.01479/12.38, allocations: 5.483 MB / 5.109 GB, free: 6.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002955/12.38, allocations: 1.157 MB / 5.11 GB, free: 5.754 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002491/12.38, allocations: 257.4 kB / 5.11 GB, free: 5.504 MB / 0.948 GB Notification: Performance of pre-optimization done (n=145): time 1.136e-05/12.38, allocations: 0 / 5.11 GB, free: 5.504 MB / 0.948 GB Notification: Performance of matching and sorting (n=145): time 0.009367/12.39, allocations: 2.911 MB / 5.113 GB, free: 2.586 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/12.39, allocations: 230.9 kB / 5.113 GB, free: 2.312 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7431/13.13, allocations: 2.923 MB / 5.116 GB, free: 89.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008936/13.14, allocations: 64.61 kB / 5.116 GB, free: 89.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/13.14, allocations: 1.626 MB / 5.118 GB, free: 89.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/13.14, allocations: 499.1 kB / 5.118 GB, free: 89.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/13.14, allocations: 37.5 kB / 5.118 GB, free: 89.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000189/13.14, allocations: 376.5 kB / 5.118 GB, free: 88.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/13.14, allocations: 0.9733 MB / 5.119 GB, free: 88.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/13.15, allocations: 1.631 MB / 5.121 GB, free: 88.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/13.15, allocations: 1.097 MB / 5.122 GB, free: 88.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/13.15, allocations: 6.312 kB / 5.122 GB, free: 88.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01069/13.16, allocations: 2.83 MB / 5.125 GB, free: 88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001679/13.16, allocations: 5.829 MB / 5.131 GB, free: 81.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/13.16, allocations: 18.77 kB / 5.131 GB, free: 81.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.937e-05/13.16, allocations: 24.91 kB / 5.131 GB, free: 81.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/13.17, allocations: 0.5383 MB / 5.131 GB, free: 81.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-05/13.17, allocations: 34.42 kB / 5.131 GB, free: 81.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/13.17, allocations: 364.9 kB / 5.132 GB, free: 81.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004702/13.17, allocations: 109.5 kB / 5.132 GB, free: 81.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/13.17, allocations: 6.469 kB / 5.132 GB, free: 81.93 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00823/13.18, allocations: 2.442 MB / 5.134 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.855e-05/13.18, allocations: 13.41 kB / 5.134 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.26e-05/13.18, allocations: 27.95 kB / 5.134 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/13.18, allocations: 0.5282 MB / 5.135 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-05/13.18, allocations: 31.44 kB / 5.135 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/13.19, allocations: 317.9 kB / 5.135 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000411/13.19, allocations: 110.6 kB / 5.135 GB, free: 81.88 MB / 0.948 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 (233): * Single equations (assignments): 230 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003611/13.19, allocations: 0.7853 MB / 5.136 GB, free: 81.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/13.19, allocations: 341 kB / 5.136 GB, free: 81.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008732/13.2, allocations: 2.453 MB / 5.139 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/13.2, allocations: 19.84 kB / 5.139 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/13.2, allocations: 3.312 kB / 5.139 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004785/13.21, allocations: 2.182 MB / 5.141 GB, free: 80.94 MB / 0.948 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.01707/13.22, allocations: 5.608 MB / 5.146 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/13.22, allocations: 3.219 kB / 5.146 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/13.23, allocations: 390.7 kB / 5.147 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.008e-05/13.23, allocations: 7.594 kB / 5.147 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/13.23, allocations: 54.72 kB / 5.147 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/13.23, allocations: 14.52 kB / 5.147 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/13.23, allocations: 6.656 kB / 5.147 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009544/13.24, allocations: 4.018 MB / 5.151 GB, free: 79.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/13.24, allocations: 0.6856 MB / 5.151 GB, free: 79.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002116/13.24, allocations: 31.66 kB / 5.151 GB, free: 79.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004493/13.25, allocations: 273 kB / 5.151 GB, free: 79.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/13.25, allocations: 108 kB / 5.152 GB, free: 79.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/13.25, allocations: 74.72 kB / 5.152 GB, free: 79.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006736/13.25, allocations: 2.267 MB / 5.154 GB, free: 78.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.453e-06/13.25, allocations: 0 / 5.154 GB, free: 78.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01107/13.26, allocations: 2.029 MB / 5.156 GB, free: 78.85 MB / 0.948 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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * 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.008746/13.27, allocations: 3.838 MB / 5.16 GB, free: 77.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01043/13.28, allocations: 3.573 MB / 5.163 GB, free: 77.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/13.28, allocations: 0 / 5.163 GB, free: 77.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002749/13.29, allocations: 1.029 MB / 5.164 GB, free: 77.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009432/13.3, allocations: 1.505 MB / 5.166 GB, free: 77.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/13.32, allocations: 7.769 MB / 5.173 GB, free: 74.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/13.32, allocations: 2.099 MB / 5.175 GB, free: 73.74 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007077/13.33, allocations: 0.8452 MB / 5.176 GB, free: 73.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/13.33, allocations: 275 kB / 5.176 GB, free: 73.71 MB / 0.948 GB Notification: Performance of SimCode: time 3.617e-06/13.33, allocations: 0 / 5.176 GB, free: 73.71 MB / 0.948 GB Notification: Performance of Templates: time 0.1512/13.48, allocations: 88.23 MB / 5.262 GB, free: 68.12 MB / 0.948 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