Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.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.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System5") translateModel(Buildings.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001252/0.001252, allocations: 177.2 kB / 498.1 MB, free: 5.75 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.611/1.611, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.0009449/0.0009449, allocations: 94.34 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 17.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3437, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.554/6.897, allocations: 2.225 GB / 3.448 GB, free: 205.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/6.898, allocations: 95.41 kB / 3.448 GB, free: 205.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.6/25.5, allocations: 4.421 GB / 7.869 GB, free: 6.25 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.887e-06/25.5, allocations: 4 kB / 7.869 GB, free: 6.246 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002552/25.5, allocations: 302.8 kB / 7.869 GB, free: 5.957 MB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1718 * Number of variables: 1718 Notification: Performance of Generate backend data structure: time 0.05938/25.56, allocations: 11.83 MB / 7.88 GB, free: 10.02 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 8.578e-05/25.56, allocations: 8.031 kB / 7.88 GB, free: 10.01 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02275/25.59, allocations: 2.25 MB / 7.883 GB, free: 7.746 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.608/28.19, allocations: 13.03 MB / 7.895 GB, free: 74.04 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/28.2, allocations: 0.5265 MB / 7.896 GB, free: 74.03 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004245/28.2, allocations: 0.7195 MB / 7.897 GB, free: 74.03 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03516/28.23, allocations: 7.78 MB / 7.904 GB, free: 73.16 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000583/28.24, allocations: 17.56 kB / 7.904 GB, free: 73.16 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003546/28.24, allocations: 294.2 kB / 7.904 GB, free: 73.16 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006115/28.24, allocations: 280.8 kB / 7.905 GB, free: 73.14 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/28.26, allocations: 6.075 MB / 7.911 GB, free: 73.08 MB / 1.354 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.08478/28.35, allocations: 38.97 MB / 7.949 GB, free: 54.15 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008064/28.36, allocations: 4.504 MB / 7.953 GB, free: 53.34 MB / 1.354 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.02957/28.38, allocations: 9.557 MB / 7.962 GB, free: 50.62 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00677/28.39, allocations: 2.369 MB / 7.965 GB, free: 50.48 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008576/28.4, allocations: 485.9 kB / 7.965 GB, free: 50.38 MB / 1.354 GB Notification: Performance of pre-optimization done (n=380): time 4.092e-05/28.4, allocations: 6.562 kB / 7.965 GB, free: 50.38 MB / 1.354 GB Notification: Performance of matching and sorting (n=388): time 0.05374/28.45, allocations: 13.39 MB / 7.978 GB, free: 47.5 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/28.45, allocations: 201.4 kB / 7.979 GB, free: 47.31 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02771/28.48, allocations: 7.036 MB / 7.985 GB, free: 46.78 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001991/28.48, allocations: 131 kB / 7.985 GB, free: 46.75 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.008966/28.49, allocations: 4.753 MB / 7.99 GB, free: 45.72 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.003316/28.5, allocations: 1.344 MB / 7.991 GB, free: 44.86 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/28.5, allocations: 106.1 kB / 7.992 GB, free: 44.86 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.000735/28.5, allocations: 0.5031 MB / 7.992 GB, free: 44.55 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006463/28.51, allocations: 1.887 MB / 7.994 GB, free: 44.53 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007454/28.51, allocations: 3.697 MB / 7.997 GB, free: 42.42 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007166/28.52, allocations: 2.479 MB / 8 GB, free: 42.36 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/28.52, allocations: 11.12 kB / 8 GB, free: 42.36 MB / 1.354 GB Notification: Performance of matching and sorting (n=669) (initialization): time 0.02368/28.54, allocations: 6.806 MB / 8.007 GB, free: 41.73 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.01453/28.56, allocations: 22.05 MB / 8.028 GB, free: 50.41 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002496/28.56, allocations: 41.03 kB / 8.028 GB, free: 50.41 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/28.56, allocations: 0.9122 MB / 8.029 GB, free: 50.37 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006377/28.57, allocations: 1.14 MB / 8.03 GB, free: 50.37 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00832/28.58, allocations: 5.952 MB / 8.036 GB, free: 46.06 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/28.59, allocations: 0.7443 MB / 8.037 GB, free: 45.99 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/28.59, allocations: 255.7 kB / 8.037 GB, free: 45.99 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/28.59, allocations: 6.125 kB / 8.037 GB, free: 45.99 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0238/28.62, allocations: 5.81 MB / 8.043 GB, free: 45.85 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/28.62, allocations: 40.69 kB / 8.043 GB, free: 45.85 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004161/28.62, allocations: 0.8428 MB / 8.043 GB, free: 45.81 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007311/28.63, allocations: 1.097 MB / 8.045 GB, free: 45.81 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/28.64, allocations: 7.824 MB / 8.052 GB, free: 41.16 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/28.66, allocations: 0.692 MB / 8.053 GB, free: 41.1 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/28.66, allocations: 243.8 kB / 8.053 GB, free: 41.1 MB / 1.386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (614): * Single equations (assignments): 607 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.01134/28.67, allocations: 2.181 MB / 8.055 GB, free: 40.88 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004407/28.68, allocations: 0.8651 MB / 8.056 GB, free: 40.42 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/28.7, allocations: 5.594 MB / 8.062 GB, free: 40.07 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.475e-05/28.7, allocations: 42.94 kB / 8.062 GB, free: 40.07 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/28.7, allocations: 3.625 kB / 8.062 GB, free: 40.07 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01267/28.71, allocations: 4.171 MB / 8.066 GB, free: 39.82 MB / 1.386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05619/28.77, allocations: 12.99 MB / 8.078 GB, free: 38.88 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/28.77, allocations: 0 / 8.078 GB, free: 38.88 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005841/28.77, allocations: 0.7492 MB / 8.079 GB, free: 38.88 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/28.77, allocations: 0.6153 MB / 8.08 GB, free: 38.81 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001253/28.78, allocations: 115.8 kB / 8.08 GB, free: 38.81 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/28.79, allocations: 11.63 MB / 8.091 GB, free: 44.87 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/28.79, allocations: 2.938 kB / 8.091 GB, free: 44.87 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/28.81, allocations: 7.704 MB / 8.099 GB, free: 43.82 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01235/28.83, allocations: 1.578 MB / 8.1 GB, free: 43.26 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005202/28.83, allocations: 90.72 kB / 8.1 GB, free: 43.25 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01411/28.85, allocations: 0.6323 MB / 8.101 GB, free: 43.21 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001742/28.85, allocations: 269.7 kB / 8.101 GB, free: 43.21 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001066/28.85, allocations: 179.5 kB / 8.101 GB, free: 43.21 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.02091/28.87, allocations: 5.331 MB / 8.107 GB, free: 42.93 MB / 1.401 GB Notification: Performance of sort global known variables: time 7.42e-07/28.87, allocations: 3.672 kB / 8.107 GB, free: 42.93 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03774/28.91, allocations: 4.825 MB / 8.111 GB, free: 42.86 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,hysTOut.y,hysTBoi.y,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (375): * Single equations (assignments): 355 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01287/28.92, allocations: 5.791 MB / 8.117 GB, free: 40.73 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02373/28.94, allocations: 8.76 MB / 8.125 GB, free: 40 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/28.95, allocations: 4.469 kB / 8.125 GB, free: 40 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006105/28.95, allocations: 3.062 MB / 8.128 GB, free: 39.2 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0255/28.98, allocations: 4.29 MB / 8.133 GB, free: 39.16 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/29.02, allocations: 20.56 MB / 8.153 GB, free: 30.25 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/29.03, allocations: 5.154 MB / 8.158 GB, free: 29.25 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.01527/29.05, allocations: 2.35 MB / 8.16 GB, free: 28.96 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003834/29.05, allocations: 0.6721 MB / 8.161 GB, free: 28.95 MB / 1.401 GB Notification: Performance of SimCode: time 1.153e-06/29.05, allocations: 0 / 8.161 GB, free: 28.95 MB / 1.401 GB Notification: Performance of Templates: time 0.3529/29.41, allocations: 195.4 MB / 8.352 GB, free: 1.559 MB / 1.401 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System5.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches