Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.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.System4,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.System4") translateModel(Buildings.Examples.Tutorial.Boiler.System4,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.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001278/0.001278, allocations: 178 kB / 498.1 MB, free: 5.73 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.636/1.636, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.0009435/0.0009435, allocations: 99.92 kB / 0.9346 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004066, allocations: 8.156 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3375, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.471/6.808, allocations: 2.223 GB / 3.446 GB, free: 261.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004603/6.809, allocations: 87.95 kB / 3.446 GB, free: 261.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.41/25.22, allocations: 4.415 GB / 7.861 GB, free: 34.04 MB / 1.323 GB Notification: Performance of FrontEnd: time 2.906e-06/25.22, allocations: 3.719 kB / 7.861 GB, free: 34.04 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.002436/25.22, allocations: 294.8 kB / 7.861 GB, free: 33.75 MB / 1.323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1620 * Number of variables: 1620 Notification: Performance of Generate backend data structure: time 0.05188/25.27, allocations: 11.45 MB / 7.872 GB, free: 22.19 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/25.27, allocations: 12.03 kB / 7.872 GB, free: 22.18 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/25.29, allocations: 2.207 MB / 7.875 GB, free: 19.96 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.045/25.34, allocations: 12.86 MB / 7.887 GB, free: 6.992 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007527/25.34, allocations: 0.5005 MB / 7.888 GB, free: 6.488 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/25.34, allocations: 0.6833 MB / 7.888 GB, free: 5.805 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/25.37, allocations: 7.409 MB / 7.896 GB, free: 14.11 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003022/25.37, allocations: 19.78 kB / 7.896 GB, free: 14.09 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/25.37, allocations: 268 kB / 7.896 GB, free: 13.83 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/25.37, allocations: 272 kB / 7.896 GB, free: 13.56 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/25.39, allocations: 5.778 MB / 7.902 GB, free: 7.762 MB / 1.339 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 1.56/26.95, allocations: 37.97 MB / 7.939 GB, free: 92.19 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009947/26.96, allocations: 4.105 MB / 7.943 GB, free: 91.49 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.03689/27, allocations: 9.369 MB / 7.952 GB, free: 88.91 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005823/27, allocations: 2.22 MB / 7.954 GB, free: 88.78 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008235/27.01, allocations: 471.3 kB / 7.955 GB, free: 88.78 MB / 1.37 GB Notification: Performance of pre-optimization done (n=352): time 4.174e-05/27.01, allocations: 0 / 7.955 GB, free: 88.78 MB / 1.37 GB Notification: Performance of matching and sorting (n=360): time 0.04891/27.06, allocations: 12.77 MB / 7.967 GB, free: 86.71 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/27.06, allocations: 122.6 kB / 7.967 GB, free: 86.61 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01976/27.08, allocations: 6.822 MB / 7.974 GB, free: 86.14 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001817/27.08, allocations: 126.4 kB / 7.974 GB, free: 86.11 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.007066/27.09, allocations: 4.583 MB / 7.978 GB, free: 85.17 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.00269/27.09, allocations: 1.255 MB / 7.98 GB, free: 84.54 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005636/27.09, allocations: 100.6 kB / 7.98 GB, free: 84.54 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0004065/27.09, allocations: 0.4941 MB / 7.98 GB, free: 84.22 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003656/27.09, allocations: 1.792 MB / 7.982 GB, free: 84.2 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004793/27.1, allocations: 3.53 MB / 7.985 GB, free: 82.17 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/27.1, allocations: 2.36 MB / 7.988 GB, free: 82.11 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-05/27.1, allocations: 14.38 kB / 7.988 GB, free: 82.11 MB / 1.37 GB Notification: Performance of matching and sorting (n=635) (initialization): time 0.01758/27.12, allocations: 6.511 MB / 7.994 GB, free: 81.5 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.005228/27.13, allocations: 21.41 MB / 8.015 GB, free: 59.26 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/27.13, allocations: 43.95 kB / 8.015 GB, free: 59.25 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/27.13, allocations: 0.913 MB / 8.016 GB, free: 59.21 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/27.14, allocations: 1.073 MB / 8.017 GB, free: 59.21 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006273/27.14, allocations: 5.937 MB / 8.023 GB, free: 54.9 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/27.16, allocations: 0.7154 MB / 8.023 GB, free: 54.86 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/27.16, allocations: 244.4 kB / 8.024 GB, free: 54.86 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/27.16, allocations: 4.688 kB / 8.024 GB, free: 54.86 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01798/27.18, allocations: 5.609 MB / 8.029 GB, free: 54.71 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/27.18, allocations: 42.19 kB / 8.029 GB, free: 54.71 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/27.18, allocations: 0.8417 MB / 8.03 GB, free: 54.68 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/27.19, allocations: 1.05 MB / 8.031 GB, free: 54.68 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/27.2, allocations: 7.817 MB / 8.039 GB, free: 50.04 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/27.21, allocations: 0.6731 MB / 8.039 GB, free: 50.01 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/27.21, allocations: 233.1 kB / 8.04 GB, free: 50.01 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($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 (580): * Single equations (assignments): 573 * 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 {4 7,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.01037/27.22, allocations: 2.132 MB / 8.042 GB, free: 49.82 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004867/27.23, allocations: 0.8368 MB / 8.042 GB, free: 49.38 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/27.25, allocations: 5.319 MB / 8.048 GB, free: 49.04 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/27.25, allocations: 44.2 kB / 8.048 GB, free: 49.04 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/27.25, allocations: 3.062 kB / 8.048 GB, free: 49.04 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009036/27.26, allocations: 3.956 MB / 8.052 GB, free: 48.79 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04196/27.3, allocations: 12.48 MB / 8.064 GB, free: 47.91 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/27.3, allocations: 4.312 kB / 8.064 GB, free: 47.91 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/27.3, allocations: 0.6927 MB / 8.064 GB, free: 47.91 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/27.3, allocations: 0.6158 MB / 8.065 GB, free: 47.84 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006106/27.3, allocations: 109.4 kB / 8.065 GB, free: 47.84 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/27.31, allocations: 11.62 MB / 8.076 GB, free: 37.89 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/27.31, allocations: 0 / 8.076 GB, free: 37.89 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/27.33, allocations: 7.308 MB / 8.084 GB, free: 36.9 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01094/27.34, allocations: 1.525 MB / 8.085 GB, free: 36.35 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004864/27.35, allocations: 85.38 kB / 8.085 GB, free: 36.35 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01109/27.36, allocations: 0.5996 MB / 8.086 GB, free: 36.33 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/27.36, allocations: 258.5 kB / 8.086 GB, free: 36.33 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001435/27.36, allocations: 180.2 kB / 8.086 GB, free: 36.32 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01855/27.38, allocations: 5.165 MB / 8.091 GB, free: 36.07 MB / 1.37 GB Notification: Performance of sort global known variables: time 1.142e-06/27.38, allocations: 1 kB / 8.091 GB, free: 36.07 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03804/27.42, allocations: 4.73 MB / 8.096 GB, free: 36.07 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (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) * Number of discrete variables: 8 ($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 (346): * Single equations (assignments): 326 * 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.01721/27.43, allocations: 5.777 MB / 8.102 GB, free: 50.02 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02656/27.46, allocations: 8.422 MB / 8.11 GB, free: 49.3 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/27.46, allocations: 5.031 kB / 8.11 GB, free: 49.3 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.007921/27.47, allocations: 2.929 MB / 8.113 GB, free: 48.49 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.033/27.5, allocations: 4.235 MB / 8.117 GB, free: 48.46 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05647/27.56, allocations: 19.75 MB / 8.136 GB, free: 40.25 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/27.57, allocations: 5.005 MB / 8.141 GB, free: 39.26 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.01464/27.59, allocations: 2.322 MB / 8.143 GB, free: 38.98 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003898/27.59, allocations: 0.6478 MB / 8.144 GB, free: 38.97 MB / 1.385 GB Notification: Performance of SimCode: time 1.403e-06/27.59, allocations: 3.281 kB / 8.144 GB, free: 38.97 MB / 1.385 GB Notification: Performance of Templates: time 0.427/28.02, allocations: 192.4 MB / 8.332 GB, free: 25.41 MB / 1.385 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System4.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches