Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001103/0.001103, allocations: 184.7 kB / 487.4 MB, free: 5.062 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.61/1.61, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 102.3 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.526e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3044, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/6.047, allocations: 2.203 GB / 3.409 GB, free: 95.35 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/6.048, allocations: 95.36 kB / 3.409 GB, free: 95.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.526/10.57, allocations: 1.337 GB / 4.746 GB, free: 89.78 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.392e-06/10.57, allocations: 0 / 4.746 GB, free: 89.78 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004423/10.57, allocations: 99.84 kB / 4.746 GB, free: 89.68 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.007352/10.58, allocations: 3.358 MB / 4.75 GB, free: 86.26 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/10.58, allocations: 8.031 kB / 4.75 GB, free: 86.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007096/10.59, allocations: 1.221 MB / 4.751 GB, free: 85.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/10.6, allocations: 4.873 MB / 4.756 GB, free: 80.08 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/10.6, allocations: 72 kB / 4.756 GB, free: 80.01 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/10.6, allocations: 144 kB / 4.756 GB, free: 79.87 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004242/10.61, allocations: 2.399 MB / 4.758 GB, free: 77.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/10.61, allocations: 2.729 MB / 4.761 GB, free: 74.59 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/10.61, allocations: 7.906 kB / 4.761 GB, free: 74.58 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/10.61, allocations: 7.984 kB / 4.761 GB, free: 74.57 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/10.61, allocations: 104.3 kB / 4.761 GB, free: 74.46 MB / 1.151 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.01862/10.63, allocations: 12.89 MB / 4.773 GB, free: 60.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/10.63, allocations: 2.017 MB / 4.775 GB, free: 58.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/10.63, allocations: 1.071 MB / 4.777 GB, free: 57.88 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008864/10.64, allocations: 4.32 MB / 4.781 GB, free: 53.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/10.64, allocations: 0.9637 MB / 4.782 GB, free: 52.34 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001307/10.64, allocations: 138.6 kB / 4.782 GB, free: 52.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=144): time 4.328e-06/10.64, allocations: 0 / 4.782 GB, free: 52.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=147): time 0.01062/10.66, allocations: 4.688 MB / 4.786 GB, free: 47.43 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/10.66, allocations: 68.67 kB / 4.786 GB, free: 47.35 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/10.66, allocations: 2.407 MB / 4.789 GB, free: 44.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/10.66, allocations: 29.7 kB / 4.789 GB, free: 44.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/10.66, allocations: 1.512 MB / 4.79 GB, free: 43.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/10.66, allocations: 0.4928 MB / 4.791 GB, free: 42.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/10.66, allocations: 0 / 4.791 GB, free: 42.87 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/10.66, allocations: 390.1 kB / 4.791 GB, free: 42.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/10.66, allocations: 0.8983 MB / 4.792 GB, free: 41.58 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/10.66, allocations: 1.517 MB / 4.794 GB, free: 39.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/10.67, allocations: 1.261 MB / 4.795 GB, free: 38.54 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/10.67, allocations: 8 kB / 4.795 GB, free: 38.53 MB / 1.151 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006177/10.67, allocations: 2.995 MB / 4.798 GB, free: 35.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001145/10.67, allocations: 7.092 MB / 4.805 GB, free: 27.87 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/10.67, allocations: 16 kB / 4.805 GB, free: 27.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/10.67, allocations: 405.2 kB / 4.805 GB, free: 27.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/10.68, allocations: 0.4953 MB / 4.805 GB, free: 26.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/10.68, allocations: 2.627 MB / 4.808 GB, free: 24.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/10.68, allocations: 191.3 kB / 4.808 GB, free: 24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/10.68, allocations: 111.9 kB / 4.808 GB, free: 23.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/10.68, allocations: 4 kB / 4.808 GB, free: 23.88 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005369/10.69, allocations: 2.556 MB / 4.811 GB, free: 21.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/10.69, allocations: 24.03 kB / 4.811 GB, free: 21.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/10.69, allocations: 425.3 kB / 4.811 GB, free: 20.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/10.69, allocations: 487.2 kB / 4.812 GB, free: 20.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/10.7, allocations: 2.627 MB / 4.814 GB, free: 17.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/10.7, allocations: 163.5 kB / 4.814 GB, free: 17.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/10.7, allocations: 108 kB / 4.815 GB, free: 17.37 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 250 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007307/10.7, allocations: 164.3 kB / 4.815 GB, free: 17.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/10.7, allocations: 284.5 kB / 4.815 GB, free: 16.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/10.71, allocations: 2.367 MB / 4.817 GB, free: 14.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/10.71, allocations: 20 kB / 4.817 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/10.71, allocations: 0 / 4.817 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00304/10.71, allocations: 2.057 MB / 4.819 GB, free: 12.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/10.72, allocations: 5.03 MB / 4.824 GB, free: 7.234 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/10.72, allocations: 4 kB / 4.824 GB, free: 7.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/10.72, allocations: 283.7 kB / 4.825 GB, free: 6.953 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/10.72, allocations: 312.9 kB / 4.825 GB, free: 6.629 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/10.72, allocations: 35.91 kB / 4.825 GB, free: 6.594 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6432/11.36, allocations: 8.698 MB / 4.833 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/11.36, allocations: 1.906 kB / 4.833 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006679/11.37, allocations: 3.426 MB / 4.837 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/11.37, allocations: 0.6481 MB / 4.837 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006394/11.37, allocations: 14.23 kB / 4.837 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/11.38, allocations: 119.9 kB / 4.837 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/11.38, allocations: 113.7 kB / 4.838 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/11.38, allocations: 77.2 kB / 4.838 GB, free: 188.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003072/11.38, allocations: 1.798 MB / 4.839 GB, free: 188.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/11.38, allocations: 0 / 4.839 GB, free: 188.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00744/11.39, allocations: 1.632 MB / 4.841 GB, free: 188.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004149/11.39, allocations: 2.095 MB / 4.843 GB, free: 187.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008115/11.4, allocations: 3.821 MB / 4.847 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/11.4, allocations: 2.312 kB / 4.847 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/11.4, allocations: 1.629 MB / 4.848 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007858/11.41, allocations: 1.446 MB / 4.85 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/11.42, allocations: 5.373 MB / 4.855 GB, free: 185.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/11.42, allocations: 2.446 MB / 4.857 GB, free: 184.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.007115/11.43, allocations: 1.697 MB / 4.859 GB, free: 184.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009033/11.43, allocations: 202.8 kB / 4.859 GB, free: 184.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.72e-07/11.43, allocations: 0 / 4.859 GB, free: 184.9 MB / 1.151 GB Notification: Performance of Templates: time 0.1117/11.54, allocations: 70.36 MB / 4.928 GB, free: 181.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System2.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches