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.505/1.505, allocations: 249.5 MB / 257 MB, free: 6.949 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.00103/0.00103, allocations: 176.9 kB / 316.3 MB, free: 3.234 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.403/1.403, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008446/0.0008448, allocations: 96.39 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.011e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.194/6.406, allocations: 2.511 GB / 3.396 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/6.407, allocations: 99.94 kB / 3.396 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.07/12.48, allocations: 1.645 GB / 5.041 GB, free: 85.62 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.043e-06/12.48, allocations: 0 / 5.041 GB, free: 85.62 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00055/12.48, allocations: 105.9 kB / 5.041 GB, free: 85.62 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.01132/12.49, allocations: 3.749 MB / 5.045 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/12.49, allocations: 7.594 kB / 5.045 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009838/12.5, allocations: 1.337 MB / 5.046 GB, free: 83.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/12.51, allocations: 4.13 MB / 5.05 GB, free: 83.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005673/12.51, allocations: 241.1 kB / 5.05 GB, free: 83.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/12.51, allocations: 149.2 kB / 5.05 GB, free: 83.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004095/12.52, allocations: 2.206 MB / 5.053 GB, free: 83.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/12.52, allocations: 2.348 MB / 5.055 GB, free: 82.86 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/12.52, allocations: 4.938 kB / 5.055 GB, free: 82.86 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/12.52, allocations: 10.73 kB / 5.055 GB, free: 82.86 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/12.52, allocations: 86.3 kB / 5.055 GB, free: 82.85 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.0203/12.54, allocations: 12.42 MB / 5.067 GB, free: 77.28 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/12.54, allocations: 1.961 MB / 5.069 GB, free: 76.94 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/12.54, allocations: 0.8055 MB / 5.07 GB, free: 76.92 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.01062/12.56, allocations: 5.291 MB / 5.075 GB, free: 74.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/12.56, allocations: 0.8947 MB / 5.076 GB, free: 74.52 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001561/12.56, allocations: 202.3 kB / 5.076 GB, free: 74.45 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 5.49e-06/12.56, allocations: 0 / 5.076 GB, free: 74.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.004047/12.56, allocations: 1.74 MB / 5.078 GB, free: 74.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/12.56, allocations: 228.4 kB / 5.078 GB, free: 73.97 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/12.57, allocations: 2.411 MB / 5.08 GB, free: 73.73 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/12.57, allocations: 29.67 kB / 5.08 GB, free: 73.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/12.57, allocations: 1.602 MB / 5.082 GB, free: 73.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/12.57, allocations: 481.2 kB / 5.082 GB, free: 72.88 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/12.57, allocations: 2.781 kB / 5.082 GB, free: 72.88 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001167/12.57, allocations: 379.4 kB / 5.083 GB, free: 72.57 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/12.57, allocations: 0.6819 MB / 5.083 GB, free: 72.57 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/12.57, allocations: 1.336 MB / 5.085 GB, free: 71.82 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/12.57, allocations: 0.9713 MB / 5.086 GB, free: 71.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/12.57, allocations: 10.22 kB / 5.086 GB, free: 71.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004647/12.58, allocations: 2.286 MB / 5.088 GB, free: 71.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001209/12.58, allocations: 5.926 MB / 5.094 GB, free: 65.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/12.58, allocations: 16.25 kB / 5.094 GB, free: 65.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/12.58, allocations: 24.34 kB / 5.094 GB, free: 65.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/12.58, allocations: 0.546 MB / 5.094 GB, free: 65.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/12.58, allocations: 32 kB / 5.094 GB, free: 65.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/12.58, allocations: 310.2 kB / 5.094 GB, free: 65.28 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/12.58, allocations: 107.2 kB / 5.095 GB, free: 65.28 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/12.58, allocations: 5 kB / 5.095 GB, free: 65.28 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003757/12.59, allocations: 1.89 MB / 5.096 GB, free: 65.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/12.59, allocations: 20.12 kB / 5.096 GB, free: 65.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/12.59, allocations: 28.98 kB / 5.096 GB, free: 65.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/12.59, allocations: 0.5304 MB / 5.097 GB, free: 65.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/12.59, allocations: 30.47 kB / 5.097 GB, free: 65.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/12.59, allocations: 261.6 kB / 5.097 GB, free: 65.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/12.59, allocations: 106.6 kB / 5.097 GB, free: 65.23 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.0005401/12.6, allocations: 169.9 kB / 5.098 GB, free: 65.12 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005564/12.6, allocations: 315.8 kB / 5.098 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/12.6, allocations: 1.972 MB / 5.1 GB, free: 64.84 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/12.6, allocations: 26.47 kB / 5.1 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/12.6, allocations: 0.6562 kB / 5.1 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/12.6, allocations: 1.744 MB / 5.102 GB, free: 64.36 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.008884/12.61, allocations: 4.858 MB / 5.106 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/12.61, allocations: 7.609 kB / 5.106 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/12.61, allocations: 390.2 kB / 5.107 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/12.61, allocations: 9.531 kB / 5.107 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/12.61, allocations: 32.06 kB / 5.107 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/12.61, allocations: 7.812 kB / 5.107 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/12.61, allocations: 6.688 kB / 5.107 GB, free: 63.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/12.62, allocations: 3.261 MB / 5.11 GB, free: 62.87 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/12.62, allocations: 0.6484 MB / 5.111 GB, free: 62.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/12.62, allocations: 18.09 kB / 5.111 GB, free: 62.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/12.62, allocations: 245.3 kB / 5.111 GB, free: 62.59 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/12.62, allocations: 97.25 kB / 5.111 GB, free: 62.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/12.62, allocations: 80.22 kB / 5.111 GB, free: 62.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002746/12.63, allocations: 1.796 MB / 5.113 GB, free: 62.45 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/12.63, allocations: 0 / 5.113 GB, free: 62.45 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006325/12.63, allocations: 1.928 MB / 5.115 GB, free: 62.15 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.005994/12.64, allocations: 3.879 MB / 5.118 GB, free: 60.81 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004664/12.64, allocations: 2.823 MB / 5.121 GB, free: 60.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/12.64, allocations: 0 / 5.121 GB, free: 60.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/12.64, allocations: 0.7791 MB / 5.122 GB, free: 60.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006809/12.65, allocations: 1.221 MB / 5.123 GB, free: 60.68 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/12.66, allocations: 5.119 MB / 5.128 GB, free: 59.41 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/12.67, allocations: 2.11 MB / 5.13 GB, free: 58.66 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005568/12.67, allocations: 1.154 MB / 5.131 GB, free: 58.49 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/12.67, allocations: 208.1 kB / 5.131 GB, free: 58.48 MB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/12.67, allocations: 0 / 5.131 GB, free: 58.48 MB / 0.9323 GB Notification: Performance of Templates: time 0.1182/12.79, allocations: 70.49 MB / 5.2 GB, free: 52.94 MB / 0.9323 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