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.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.805 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.001132/0.001132, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009549/0.0009549, allocations: 90.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.957e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.215/6.41, allocations: 2.511 GB / 3.402 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/6.41, allocations: 103.5 kB / 3.403 GB, free: 154 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.373/12.78, allocations: 1.657 GB / 5.059 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.795e-06/12.78, allocations: 0 / 5.059 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007567/12.78, allocations: 106 kB / 5.06 GB, free: 78.71 MB / 0.9323 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.01355/12.8, allocations: 3.747 MB / 5.063 GB, free: 77.11 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/12.8, allocations: 9.281 kB / 5.063 GB, free: 77.11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009644/12.81, allocations: 1.33 MB / 5.064 GB, free: 76.89 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/12.82, allocations: 4.135 MB / 5.069 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007433/12.82, allocations: 335.7 kB / 5.069 GB, free: 76.16 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/12.82, allocations: 240.9 kB / 5.069 GB, free: 76.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006269/12.83, allocations: 2.766 MB / 5.072 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.903e-05/12.83, allocations: 3 kB / 5.072 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/12.83, allocations: 92.73 kB / 5.072 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.388e-05/12.83, allocations: 97.02 kB / 5.072 GB, free: 75.74 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/12.83, allocations: 2.348 MB / 5.074 GB, free: 75.71 MB / 0.9323 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.02136/12.86, allocations: 12.83 MB / 5.087 GB, free: 70.12 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/12.86, allocations: 2.2 MB / 5.089 GB, free: 69.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/12.86, allocations: 0.8432 MB / 5.09 GB, free: 69.55 MB / 0.9323 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.009666/12.87, allocations: 5.539 MB / 5.095 GB, free: 67.09 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/12.87, allocations: 0.9518 MB / 5.096 GB, free: 67 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001737/12.87, allocations: 250.3 kB / 5.096 GB, free: 66.92 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 7.955e-06/12.87, allocations: 0 / 5.096 GB, free: 66.92 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.003444/12.88, allocations: 1.702 MB / 5.098 GB, free: 66.67 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/12.88, allocations: 225.4 kB / 5.098 GB, free: 66.42 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/12.88, allocations: 2.841 MB / 5.101 GB, free: 66.16 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003641/12.88, allocations: 65.06 kB / 5.101 GB, free: 66.12 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/12.88, allocations: 1.624 MB / 5.103 GB, free: 65.68 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/12.88, allocations: 499.4 kB / 5.103 GB, free: 65.37 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/12.88, allocations: 34.69 kB / 5.103 GB, free: 65.37 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001035/12.88, allocations: 378.1 kB / 5.103 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/12.88, allocations: 0.7078 MB / 5.104 GB, free: 65.06 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/12.89, allocations: 1.368 MB / 5.106 GB, free: 64.33 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/12.89, allocations: 0.8387 MB / 5.106 GB, free: 64.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/12.89, allocations: 2.438 kB / 5.106 GB, free: 64.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004192/12.89, allocations: 2.306 MB / 5.109 GB, free: 64.06 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009688/12.89, allocations: 5.832 MB / 5.114 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/12.89, allocations: 13.69 kB / 5.114 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.387e-05/12.89, allocations: 29.34 kB / 5.114 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/12.9, allocations: 0.5372 MB / 5.115 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.565e-05/12.9, allocations: 32.5 kB / 5.115 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/12.9, allocations: 366.9 kB / 5.115 GB, free: 57.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/12.9, allocations: 108.2 kB / 5.115 GB, free: 57.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/12.9, allocations: 4.938 kB / 5.115 GB, free: 57.98 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003171/12.9, allocations: 1.936 MB / 5.117 GB, free: 57.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/12.9, allocations: 17.12 kB / 5.117 GB, free: 57.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/12.9, allocations: 33.3 kB / 5.117 GB, free: 57.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/12.9, allocations: 0.5246 MB / 5.118 GB, free: 57.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/12.9, allocations: 34.58 kB / 5.118 GB, free: 57.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/12.91, allocations: 321 kB / 5.118 GB, free: 57.92 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/12.91, allocations: 102.4 kB / 5.118 GB, free: 57.92 MB / 0.9323 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 (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.0006834/12.91, allocations: 233.5 kB / 5.118 GB, free: 57.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008367/12.91, allocations: 336.7 kB / 5.119 GB, free: 57.63 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/12.92, allocations: 2.04 MB / 5.121 GB, free: 57.51 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/12.92, allocations: 19.11 kB / 5.121 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/12.92, allocations: 0 / 5.121 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002269/12.92, allocations: 1.76 MB / 5.123 GB, free: 57.04 MB / 0.9323 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.009759/12.93, allocations: 5.173 MB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/12.93, allocations: 3.938 kB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/12.93, allocations: 393.1 kB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/12.93, allocations: 7.5 kB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/12.93, allocations: 51.89 kB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/12.93, allocations: 6.844 kB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/12.93, allocations: 9.031 kB / 5.128 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/12.93, allocations: 3.37 MB / 5.131 GB, free: 55.44 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/12.94, allocations: 0.7029 MB / 5.132 GB, free: 55.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/12.94, allocations: 36.03 kB / 5.132 GB, free: 55.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/12.94, allocations: 274.2 kB / 5.132 GB, free: 55.15 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/12.94, allocations: 100.4 kB / 5.132 GB, free: 55.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/12.94, allocations: 75.36 kB / 5.132 GB, free: 55.15 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003336/12.94, allocations: 2.177 MB / 5.135 GB, free: 54.99 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.5e-07/12.94, allocations: 1.031 kB / 5.135 GB, free: 54.99 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00708/12.95, allocations: 2.025 MB / 5.137 GB, free: 54.73 MB / 0.9323 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) * 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.006247/12.96, allocations: 3.848 MB / 5.14 GB, free: 53.12 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005139/12.96, allocations: 2.965 MB / 5.143 GB, free: 52.91 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/12.96, allocations: 7.875 kB / 5.143 GB, free: 52.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/12.96, allocations: 0.8155 MB / 5.144 GB, free: 52.87 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008787/12.97, allocations: 1.5 MB / 5.145 GB, free: 52.78 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/12.99, allocations: 5.248 MB / 5.151 GB, free: 51.25 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/12.99, allocations: 2.109 MB / 5.153 GB, free: 50.46 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005971/12.99, allocations: 1.253 MB / 5.154 GB, free: 50.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/12.99, allocations: 213.9 kB / 5.154 GB, free: 50.26 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/12.99, allocations: 0 / 5.154 GB, free: 50.26 MB / 0.9323 GB Notification: Performance of Templates: time 0.1436/13.14, allocations: 100.6 MB / 5.252 GB, free: 7.328 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