Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.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.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System3") translateModel(Buildings.Examples.Tutorial.Boiler.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001199/0.001199, allocations: 177.1 kB / 498.1 MB, free: 5.691 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.689/1.689, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001035/0.001036, allocations: 103.9 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8.188 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3398, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.453/6.793, allocations: 2.222 GB / 3.445 GB, free: 207.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/6.793, allocations: 92.14 kB / 3.445 GB, free: 207 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.62/25.41, allocations: 4.414 GB / 7.86 GB, free: 5.383 MB / 1.323 GB Notification: Performance of FrontEnd: time 5.07e-06/25.41, allocations: 0 / 7.86 GB, free: 5.383 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.002906/25.42, allocations: 283.4 kB / 7.86 GB, free: 5.109 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: 1601 * Number of variables: 1601 Notification: Performance of Generate backend data structure: time 0.05379/25.47, allocations: 11.39 MB / 7.871 GB, free: 9.617 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/25.47, allocations: 8.031 kB / 7.871 GB, free: 9.609 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/25.49, allocations: 2.203 MB / 7.873 GB, free: 7.391 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05393/25.54, allocations: 12.83 MB / 7.886 GB, free: 10.45 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/25.54, allocations: 0.4965 MB / 7.886 GB, free: 9.953 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004497/25.55, allocations: 0.6754 MB / 7.887 GB, free: 9.281 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/25.58, allocations: 7.348 MB / 7.894 GB, free: 1.656 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006392/25.58, allocations: 19.78 kB / 7.894 GB, free: 1.637 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003534/25.59, allocations: 264 kB / 7.894 GB, free: 1.379 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004224/25.59, allocations: 271.8 kB / 7.895 GB, free: 1.113 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436/27.02, allocations: 5.727 MB / 7.9 GB, free: 79.11 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.1015/27.13, allocations: 37.85 MB / 7.937 GB, free: 60.64 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008901/27.13, allocations: 4.024 MB / 7.941 GB, free: 59.92 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.03603/27.17, allocations: 9.361 MB / 7.95 GB, free: 57.22 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007453/27.18, allocations: 2.185 MB / 7.952 GB, free: 57.09 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008767/27.19, allocations: 466.5 kB / 7.953 GB, free: 57 MB / 1.354 GB Notification: Performance of pre-optimization done (n=342): time 3.383e-05/27.19, allocations: 0 / 7.953 GB, free: 57 MB / 1.354 GB Notification: Performance of matching and sorting (n=350): time 0.05522/27.24, allocations: 12.61 MB / 7.965 GB, free: 54.2 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/27.24, allocations: 114.8 kB / 7.965 GB, free: 54.1 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02589/27.27, allocations: 6.818 MB / 7.972 GB, free: 53.63 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.00201/27.27, allocations: 128.3 kB / 7.972 GB, free: 53.6 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.009723/27.28, allocations: 4.588 MB / 7.977 GB, free: 52.65 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.003256/27.28, allocations: 1.224 MB / 7.978 GB, free: 52.04 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/27.29, allocations: 97.5 kB / 7.978 GB, free: 52.04 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0007624/27.29, allocations: 499.7 kB / 7.978 GB, free: 51.72 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00591/27.29, allocations: 1.769 MB / 7.98 GB, free: 51.71 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00775/27.3, allocations: 3.498 MB / 7.983 GB, free: 49.69 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00732/27.31, allocations: 2.343 MB / 7.986 GB, free: 49.63 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/27.31, allocations: 12.47 kB / 7.986 GB, free: 49.63 MB / 1.354 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02549/27.33, allocations: 6.508 MB / 7.992 GB, free: 49.03 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.01112/27.34, allocations: 21.39 MB / 8.013 GB, free: 42.77 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000307/27.34, allocations: 39.09 kB / 8.013 GB, free: 42.77 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/27.35, allocations: 0.9028 MB / 8.014 GB, free: 42.73 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006548/27.36, allocations: 1.073 MB / 8.015 GB, free: 42.73 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009041/27.36, allocations: 5.921 MB / 8.021 GB, free: 38.42 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01434/27.38, allocations: 0.6975 MB / 8.021 GB, free: 38.38 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/27.38, allocations: 241.6 kB / 8.022 GB, free: 38.38 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/27.38, allocations: 5.906 kB / 8.022 GB, free: 38.38 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02092/27.4, allocations: 5.631 MB / 8.027 GB, free: 38.23 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002868/27.4, allocations: 41.41 kB / 8.027 GB, free: 38.23 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/27.41, allocations: 0.8343 MB / 8.028 GB, free: 38.2 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005898/27.41, allocations: 1.043 MB / 8.029 GB, free: 38.2 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/27.43, allocations: 7.806 MB / 8.037 GB, free: 49.56 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/27.44, allocations: 0.6552 MB / 8.037 GB, free: 49.53 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/27.44, allocations: 229.2 kB / 8.037 GB, free: 49.53 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 565 * 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 {3 8,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.01089/27.45, allocations: 2.125 MB / 8.04 GB, free: 49.34 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005191/27.46, allocations: 0.8306 MB / 8.04 GB, free: 48.89 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/27.48, allocations: 5.262 MB / 8.046 GB, free: 48.56 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/27.48, allocations: 35.16 kB / 8.046 GB, free: 48.56 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.368e-05/27.48, allocations: 6.281 kB / 8.046 GB, free: 48.56 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01214/27.49, allocations: 3.91 MB / 8.049 GB, free: 48.31 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0578/27.55, allocations: 12.39 MB / 8.061 GB, free: 47.43 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/27.55, allocations: 2.844 kB / 8.061 GB, free: 47.43 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004476/27.56, allocations: 0.6832 MB / 8.062 GB, free: 47.43 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/27.56, allocations: 0.6194 MB / 8.063 GB, free: 47.35 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/27.56, allocations: 105.8 kB / 8.063 GB, free: 47.35 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/27.57, allocations: 11.62 MB / 8.074 GB, free: 37.41 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/27.57, allocations: 0 / 8.074 GB, free: 37.41 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/27.59, allocations: 7.21 MB / 8.081 GB, free: 36.41 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009709/27.6, allocations: 1.518 MB / 8.083 GB, free: 35.87 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004952/27.61, allocations: 84.03 kB / 8.083 GB, free: 35.87 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01139/27.62, allocations: 0.5869 MB / 8.083 GB, free: 35.85 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001498/27.62, allocations: 235.8 kB / 8.084 GB, free: 35.84 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0014/27.62, allocations: 176.3 kB / 8.084 GB, free: 35.84 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01887/27.64, allocations: 5.163 MB / 8.089 GB, free: 35.59 MB / 1.385 GB Notification: Performance of sort global known variables: time 1.392e-06/27.64, allocations: 0 / 8.089 GB, free: 35.59 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03813/27.68, allocations: 4.718 MB / 8.093 GB, free: 35.59 MB / 1.385 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: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (336): * Single equations (assignments): 316 * 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.01563/27.69, allocations: 5.78 MB / 8.099 GB, free: 33.53 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02755/27.72, allocations: 8.371 MB / 8.107 GB, free: 32.81 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.946e-05/27.72, allocations: 5.625 kB / 8.107 GB, free: 32.81 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.007577/27.73, allocations: 2.9 MB / 8.11 GB, free: 32.01 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02823/27.76, allocations: 4.23 MB / 8.114 GB, free: 31.98 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05781/27.82, allocations: 19.62 MB / 8.133 GB, free: 23.59 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01614/27.83, allocations: 4.98 MB / 8.138 GB, free: 22.6 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.01857/27.85, allocations: 2.301 MB / 8.14 GB, free: 22.32 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/27.85, allocations: 0.6481 MB / 8.141 GB, free: 22.3 MB / 1.385 GB Notification: Performance of SimCode: time 3.586e-06/27.85, allocations: 0 / 8.141 GB, free: 22.3 MB / 1.385 GB Notification: Performance of Templates: time 0.3484/28.2, allocations: 191.9 MB / 8.328 GB, free: 8.023 MB / 1.385 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System3.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches