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.159/2.159, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001156/0.001156, allocations: 192.7 kB / 487.4 MB, free: 5.039 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.553/1.553, 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.0009373/0.0009373, allocations: 101.3 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.125e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.895/6.201, allocations: 2.224 GB / 3.43 GB, free: 99.04 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/6.201, allocations: 87.95 kB / 3.43 GB, free: 98.95 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.11/23.31, allocations: 4.388 GB / 7.818 GB, free: 68.06 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.124e-06/23.31, allocations: 1.125 kB / 7.818 GB, free: 68.06 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002617/23.31, allocations: 305.8 kB / 7.819 GB, free: 68.01 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.03916/23.35, allocations: 9.403 MB / 7.828 GB, free: 64.24 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/23.35, allocations: 8.734 kB / 7.828 GB, free: 64.24 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/23.37, allocations: 2.249 MB / 7.83 GB, free: 63.61 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04545/23.41, allocations: 12.93 MB / 7.843 GB, free: 62 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005786/23.41, allocations: 217.1 kB / 7.843 GB, free: 62 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003321/23.42, allocations: 444 kB / 7.843 GB, free: 61.99 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01704/23.43, allocations: 5.425 MB / 7.849 GB, free: 61.96 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/23.46, allocations: 6.621 MB / 7.855 GB, free: 61.12 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005173/23.46, allocations: 20.33 kB / 7.855 GB, free: 61.12 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002706/23.46, allocations: 14.98 kB / 7.855 GB, free: 61.12 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/23.46, allocations: 279.6 kB / 7.855 GB, free: 61.1 MB / 1.339 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.07166/23.53, allocations: 37.82 MB / 7.892 GB, free: 41.55 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008533/23.54, allocations: 3.841 MB / 7.896 GB, free: 41.39 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/23.55, allocations: 2.341 MB / 7.898 GB, free: 41.35 MB / 1.339 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.0274/23.57, allocations: 9.379 MB / 7.908 GB, free: 38.53 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005095/23.58, allocations: 2.179 MB / 7.91 GB, free: 38.39 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007068/23.59, allocations: 346.3 kB / 7.91 GB, free: 38.22 MB / 1.339 GB Notification: Performance of pre-optimization done (n=383): time 1.762e-05/23.59, allocations: 2.156 kB / 7.91 GB, free: 38.22 MB / 1.339 GB Notification: Performance of matching and sorting (n=388): time 0.03847/23.62, allocations: 10.37 MB / 7.92 GB, free: 35.82 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/23.62, allocations: 199.7 kB / 7.92 GB, free: 35.63 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01873/23.64, allocations: 6.369 MB / 7.927 GB, free: 35.12 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001622/23.64, allocations: 37.2 kB / 7.927 GB, free: 35.09 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.007762/23.65, allocations: 4.762 MB / 7.931 GB, free: 33.69 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002947/23.66, allocations: 1.3 MB / 7.932 GB, free: 32.83 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/23.66, allocations: 1.219 kB / 7.932 GB, free: 32.83 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0006277/23.66, allocations: 0.5034 MB / 7.933 GB, free: 32.51 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/23.66, allocations: 1.75 MB / 7.935 GB, free: 32.5 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005712/23.67, allocations: 3.513 MB / 7.938 GB, free: 30.4 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/23.67, allocations: 2.511 MB / 7.941 GB, free: 30.34 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-05/23.67, allocations: 10.66 kB / 7.941 GB, free: 30.34 MB / 1.339 GB Notification: Performance of matching and sorting (n=669) (initialization): time 0.02046/23.7, allocations: 6.416 MB / 7.947 GB, free: 29.72 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007078/23.7, allocations: 21.91 MB / 7.968 GB, free: 23.01 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/23.7, allocations: 38.34 kB / 7.968 GB, free: 23.01 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/23.71, allocations: 0.7679 MB / 7.969 GB, free: 22.96 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/23.71, allocations: 1.142 MB / 7.97 GB, free: 22.95 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006754/23.72, allocations: 5.814 MB / 7.976 GB, free: 18.72 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/23.73, allocations: 0.6168 MB / 7.976 GB, free: 18.6 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/23.73, allocations: 255.4 kB / 7.977 GB, free: 18.6 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/23.73, allocations: 8.562 kB / 7.977 GB, free: 18.6 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01651/23.75, allocations: 5.176 MB / 7.982 GB, free: 18.42 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/23.75, allocations: 38.72 kB / 7.982 GB, free: 18.42 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/23.75, allocations: 0.7271 MB / 7.982 GB, free: 18.37 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/23.76, allocations: 1.099 MB / 7.984 GB, free: 18.37 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/23.77, allocations: 7.373 MB / 7.991 GB, free: 13.86 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/23.78, allocations: 0.5786 MB / 7.991 GB, free: 13.76 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/23.78, allocations: 239.5 kB / 7.992 GB, free: 13.75 MB / 1.354 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 () * 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 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.003118/23.78, allocations: 270.4 kB / 7.992 GB, free: 13.62 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003818/23.79, allocations: 0.8499 MB / 7.993 GB, free: 13.16 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/23.8, allocations: 5.16 MB / 7.998 GB, free: 12.77 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/23.8, allocations: 47.34 kB / 7.998 GB, free: 12.77 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.71e-05/23.8, allocations: 6.812 kB / 7.998 GB, free: 12.77 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008862/23.81, allocations: 3.839 MB / 8.001 GB, free: 12.51 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03893/23.85, allocations: 11.81 MB / 8.013 GB, free: 11.68 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/23.85, allocations: 0 / 8.013 GB, free: 11.68 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/23.86, allocations: 0.736 MB / 8.014 GB, free: 11.68 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/23.86, allocations: 0.5819 MB / 8.014 GB, free: 11.6 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008056/23.86, allocations: 61.98 kB / 8.014 GB, free: 11.6 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/23.87, allocations: 11.42 MB / 8.025 GB, free: 17.93 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/23.87, allocations: 0 / 8.025 GB, free: 17.93 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/23.89, allocations: 7.246 MB / 8.033 GB, free: 16.91 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007668/23.9, allocations: 1.556 MB / 8.034 GB, free: 16.36 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004115/23.9, allocations: 28.59 kB / 8.034 GB, free: 16.36 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009725/23.91, allocations: 0.553 MB / 8.035 GB, free: 16.27 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/23.91, allocations: 266.8 kB / 8.035 GB, free: 16.27 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/23.91, allocations: 181.1 kB / 8.035 GB, free: 16.27 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01433/23.93, allocations: 4.697 MB / 8.04 GB, free: 16.01 MB / 1.37 GB Notification: Performance of sort global known variables: time 9.72e-07/23.93, allocations: 0 / 8.04 GB, free: 16.01 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.0313/23.96, allocations: 4.551 MB / 8.044 GB, free: 15.82 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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],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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 354 * 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%) 4,(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.0121/23.97, allocations: 5.619 MB / 8.05 GB, free: 13.09 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02318/23.99, allocations: 8.304 MB / 8.058 GB, free: 12.11 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/23.99, allocations: 4.594 kB / 8.058 GB, free: 12.11 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.006227/24, allocations: 2.861 MB / 8.061 GB, free: 11.28 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02816/24.03, allocations: 4.158 MB / 8.065 GB, free: 11.05 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04852/24.08, allocations: 13.81 MB / 8.078 GB, free: 7.012 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/24.09, allocations: 5.166 MB / 8.083 GB, free: 5.992 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.02414/24.11, allocations: 3.355 MB / 8.086 GB, free: 5.566 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/24.12, allocations: 0.5061 MB / 8.087 GB, free: 5.555 MB / 1.37 GB Notification: Performance of SimCode: time 3.366e-06/24.12, allocations: 0 / 8.087 GB, free: 5.555 MB / 1.37 GB Notification: Performance of Templates: time 1.51/25.63, allocations: 177.3 MB / 8.26 GB, free: 142 MB / 1.417 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