Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.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.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.428/2.428, 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.00192/0.00192, allocations: 198.5 kB / 498.1 MB, free: 5.77 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.774/1.774, allocations: 223.2 MB / 0.7948 GB, free: 18.01 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.0009568/0.0009568, allocations: 102.7 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004252, allocations: 7.562 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3677, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.647/7.015, allocations: 2.243 GB / 3.465 GB, free: 186.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/7.016, allocations: 95.02 kB / 3.466 GB, free: 186.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 20.85/27.87, allocations: 4.47 GB / 7.935 GB, free: 88.26 MB / 1.37 GB Notification: Performance of FrontEnd: time 3.436e-06/27.87, allocations: 1.75 kB / 7.935 GB, free: 88.26 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.003748/27.87, allocations: 324.2 kB / 7.935 GB, free: 88.2 MB / 1.37 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 0.05624/27.93, allocations: 12.71 MB / 7.948 GB, free: 82.77 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/27.93, allocations: 13.03 kB / 7.948 GB, free: 82.77 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/27.95, allocations: 2.435 MB / 7.95 GB, free: 82.09 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04859/28, allocations: 13.48 MB / 7.963 GB, free: 80.41 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/28, allocations: 0.5838 MB / 7.964 GB, free: 80.39 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00423/28, allocations: 0.7932 MB / 7.965 GB, free: 80.38 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/28.03, allocations: 8.572 MB / 7.973 GB, free: 79.43 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006713/28.03, allocations: 18.47 kB / 7.973 GB, free: 79.43 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004171/28.04, allocations: 324.3 kB / 7.973 GB, free: 79.43 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004104/28.04, allocations: 309.3 kB / 7.974 GB, free: 79.41 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02405/28.06, allocations: 7.115 MB / 7.981 GB, free: 79.35 MB / 1.37 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.09992/28.16, allocations: 41.41 MB / 8.021 GB, free: 59.12 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/28.18, allocations: 5.133 MB / 8.026 GB, free: 58.27 MB / 1.37 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.03891/28.21, allocations: 10.38 MB / 8.036 GB, free: 55.44 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008451/28.22, allocations: 2.727 MB / 8.039 GB, free: 55.29 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008935/28.23, allocations: 0.5247 MB / 8.039 GB, free: 55.07 MB / 1.37 GB Notification: Performance of pre-optimization done (n=449): time 3.711e-05/28.23, allocations: 0 / 8.039 GB, free: 55.07 MB / 1.37 GB Notification: Performance of matching and sorting (n=457): time 0.0638/28.3, allocations: 15.13 MB / 8.054 GB, free: 51.79 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002615/28.3, allocations: 390.4 kB / 8.055 GB, free: 51.38 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02847/28.32, allocations: 7.518 MB / 8.062 GB, free: 50.8 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.002223/28.33, allocations: 144.7 kB / 8.062 GB, free: 50.77 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.009589/28.34, allocations: 5.123 MB / 8.067 GB, free: 49.31 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003695/28.34, allocations: 1.568 MB / 8.069 GB, free: 48.31 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/28.34, allocations: 114.9 kB / 8.069 GB, free: 48.31 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0007804/28.34, allocations: 0.5244 MB / 8.069 GB, free: 47.99 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006175/28.35, allocations: 2.094 MB / 8.071 GB, free: 47.98 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008241/28.36, allocations: 4.001 MB / 8.075 GB, free: 45.79 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007787/28.36, allocations: 2.721 MB / 8.078 GB, free: 45.68 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/28.36, allocations: 14.94 kB / 8.078 GB, free: 45.68 MB / 1.37 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.0261/28.39, allocations: 7.478 MB / 8.085 GB, free: 44.92 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.006276/28.4, allocations: 22.9 MB / 8.107 GB, free: 21.21 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/28.4, allocations: 39.44 kB / 8.108 GB, free: 21.21 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/28.4, allocations: 0.9839 MB / 8.108 GB, free: 21.17 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006919/28.41, allocations: 1.265 MB / 8.11 GB, free: 21.17 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008467/28.42, allocations: 7.454 MB / 8.117 GB, free: 15.58 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/28.43, allocations: 0.795 MB / 8.118 GB, free: 15.5 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/28.43, allocations: 279.3 kB / 8.118 GB, free: 15.5 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/28.43, allocations: 5.812 kB / 8.118 GB, free: 15.5 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02298/28.46, allocations: 6.454 MB / 8.124 GB, free: 15.26 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/28.46, allocations: 42.53 kB / 8.124 GB, free: 15.26 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/28.46, allocations: 0.9118 MB / 8.125 GB, free: 15.21 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006581/28.47, allocations: 1.224 MB / 8.126 GB, free: 15.21 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/28.48, allocations: 9.324 MB / 8.136 GB, free: 25.27 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01369/28.5, allocations: 0.7332 MB / 8.136 GB, free: 25.22 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/28.5, allocations: 263 kB / 8.137 GB, free: 25.22 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,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,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 677 * 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: 5 * 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: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01265/28.51, allocations: 2.309 MB / 8.139 GB, free: 25 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005452/28.52, allocations: 0.9429 MB / 8.14 GB, free: 24.5 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02499/28.54, allocations: 6.529 MB / 8.146 GB, free: 24.03 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/28.54, allocations: 54.19 kB / 8.146 GB, free: 24.03 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-05/28.54, allocations: 3.5 kB / 8.146 GB, free: 24.03 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01455/28.56, allocations: 4.824 MB / 8.151 GB, free: 23.71 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05671/28.62, allocations: 14.58 MB / 8.165 GB, free: 22.68 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/28.62, allocations: 2 kB / 8.165 GB, free: 22.68 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005212/28.62, allocations: 0.8803 MB / 8.166 GB, free: 22.68 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/28.62, allocations: 0.7018 MB / 8.167 GB, free: 22.59 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/28.62, allocations: 138.7 kB / 8.167 GB, free: 22.59 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/28.64, allocations: 13.19 MB / 8.18 GB, free: 11.35 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/28.64, allocations: 3.406 kB / 8.18 GB, free: 11.35 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/28.66, allocations: 8.832 MB / 8.188 GB, free: 10.15 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009495/28.67, allocations: 1.757 MB / 8.19 GB, free: 9.543 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005048/28.68, allocations: 101.7 kB / 8.19 GB, free: 9.543 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01321/28.69, allocations: 0.6958 MB / 8.191 GB, free: 9.453 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/28.69, allocations: 326.9 kB / 8.191 GB, free: 9.449 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00198/28.69, allocations: 210.7 kB / 8.191 GB, free: 9.449 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01994/28.71, allocations: 5.698 MB / 8.197 GB, free: 9.164 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.51e-07/28.71, allocations: 0 / 8.197 GB, free: 9.164 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03767/28.75, allocations: 5.205 MB / 8.202 GB, free: 8.926 MB / 1.385 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: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,hysTBoi.y,hysPum.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,hysTOut.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01986/28.77, allocations: 6.406 MB / 8.208 GB, free: 6.102 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.0337/28.8, allocations: 9.967 MB / 8.218 GB, free: 5.047 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.62e-05/28.8, allocations: 5.906 kB / 8.218 GB, free: 5.039 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.009162/28.81, allocations: 3.536 MB / 8.221 GB, free: 4.059 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02861/28.84, allocations: 4.519 MB / 8.226 GB, free: 3.816 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06225/28.9, allocations: 22.59 MB / 8.248 GB, free: 9.453 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01644/28.92, allocations: 5.493 MB / 8.253 GB, free: 8.414 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.01989/28.94, allocations: 2.677 MB / 8.256 GB, free: 8.055 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004536/28.95, allocations: 0.7522 MB / 8.257 GB, free: 8.039 MB / 1.401 GB Notification: Performance of SimCode: time 1.703e-06/28.95, allocations: 0 / 8.257 GB, free: 8.039 MB / 1.401 GB Notification: Performance of Templates: time 1.665/30.61, allocations: 214.6 MB / 8.466 GB, free: 144.5 MB / 1.432 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System6.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches