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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001256/0.001256, allocations: 172.2 kB / 492.3 MB, free: 0.6055 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.536/1.536, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.00101/0.001011, allocations: 95.47 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.393e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3169, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.806/6.123, allocations: 2.225 GB / 3.437 GB, free: 75.98 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/6.123, allocations: 87.95 kB / 3.437 GB, free: 75.89 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.16/23.28, allocations: 4.409 GB / 7.846 GB, free: 64.46 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.813e-06/23.28, allocations: 1.203 kB / 7.846 GB, free: 64.46 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002031/23.29, allocations: 298.1 kB / 7.846 GB, free: 64.4 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.02875/23.32, allocations: 9.405 MB / 7.855 GB, free: 60.23 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/23.32, allocations: 10.38 kB / 7.855 GB, free: 60.23 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/23.33, allocations: 2.255 MB / 7.858 GB, free: 59.54 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03709/23.37, allocations: 12.92 MB / 7.87 GB, free: 57.87 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006602/23.37, allocations: 0.5329 MB / 7.871 GB, free: 57.85 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002727/23.37, allocations: 0.7224 MB / 7.871 GB, free: 57.84 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/23.39, allocations: 7.59 MB / 7.879 GB, free: 56.95 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004597/23.39, allocations: 19.77 kB / 7.879 GB, free: 56.95 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002325/23.4, allocations: 291.1 kB / 7.879 GB, free: 56.94 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002762/23.4, allocations: 283.5 kB / 7.879 GB, free: 56.92 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/23.41, allocations: 5.783 MB / 7.885 GB, free: 56.86 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.06492/23.48, allocations: 38.97 MB / 7.923 GB, free: 36.93 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005944/23.48, allocations: 4.305 MB / 7.927 GB, free: 36.09 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/23.49, allocations: 2.223 MB / 7.93 GB, free: 36.05 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.02593/23.51, allocations: 9.573 MB / 7.939 GB, free: 33.21 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005835/23.52, allocations: 2.263 MB / 7.941 GB, free: 33.06 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006513/23.52, allocations: 483.6 kB / 7.942 GB, free: 32.86 MB / 1.339 GB Notification: Performance of pre-optimization done (n=379): time 2.372e-05/23.52, allocations: 0 / 7.942 GB, free: 32.86 MB / 1.339 GB Notification: Performance of matching and sorting (n=387): time 0.03282/23.56, allocations: 10.19 MB / 7.951 GB, free: 30.41 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/23.56, allocations: 194.8 kB / 7.952 GB, free: 30.22 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01623/23.57, allocations: 6.948 MB / 7.958 GB, free: 29.61 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/23.57, allocations: 129.7 kB / 7.959 GB, free: 29.57 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.006254/23.58, allocations: 4.764 MB / 7.963 GB, free: 28.18 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002183/23.58, allocations: 1.344 MB / 7.965 GB, free: 27.32 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/23.58, allocations: 108.6 kB / 7.965 GB, free: 27.32 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0004878/23.58, allocations: 0.5015 MB / 7.965 GB, free: 27 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/23.59, allocations: 1.755 MB / 7.967 GB, free: 26.99 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006027/23.6, allocations: 3.557 MB / 7.97 GB, free: 24.8 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006586/23.6, allocations: 2.359 MB / 7.973 GB, free: 24.62 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/23.6, allocations: 12.09 kB / 7.973 GB, free: 24.62 MB / 1.339 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.01793/23.62, allocations: 6.526 MB / 7.979 GB, free: 23.7 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.005574/23.63, allocations: 22.1 MB / 8.001 GB, free: 16.17 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/23.63, allocations: 39.12 kB / 8.001 GB, free: 16.17 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/23.63, allocations: 0.8771 MB / 8.001 GB, free: 16.11 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005276/23.63, allocations: 1.145 MB / 8.003 GB, free: 16.03 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/23.64, allocations: 5.795 MB / 8.008 GB, free: 11.67 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/23.65, allocations: 0.7489 MB / 8.009 GB, free: 11.54 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/23.65, allocations: 246.9 kB / 8.009 GB, free: 11.54 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/23.65, allocations: 8.812 kB / 8.009 GB, free: 11.54 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/23.67, allocations: 5.638 MB / 8.015 GB, free: 11.08 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/23.67, allocations: 38.5 kB / 8.015 GB, free: 11.08 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/23.67, allocations: 0.8137 MB / 8.016 GB, free: 11.03 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004842/23.67, allocations: 1.096 MB / 8.017 GB, free: 10.95 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009797/23.68, allocations: 7.545 MB / 8.024 GB, free: 22.23 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009622/23.69, allocations: 0.6985 MB / 8.025 GB, free: 22.12 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/23.7, allocations: 242.7 kB / 8.025 GB, free: 22.12 MB / 1.37 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 (613): * Single equations (assignments): 606 * 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 {4 7,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.002917/23.7, allocations: 433.4 kB / 8.025 GB, free: 21.91 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004214/23.7, allocations: 0.864 MB / 8.026 GB, free: 21.45 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/23.72, allocations: 5.39 MB / 8.031 GB, free: 21.02 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.016e-05/23.72, allocations: 41.56 kB / 8.031 GB, free: 21.02 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/23.72, allocations: 11.02 kB / 8.031 GB, free: 21.01 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009262/23.73, allocations: 3.964 MB / 8.035 GB, free: 20.72 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03162/23.76, allocations: 12.77 MB / 8.048 GB, free: 19.73 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/23.76, allocations: 2.953 kB / 8.048 GB, free: 19.73 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/23.76, allocations: 0.7351 MB / 8.049 GB, free: 19.7 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/23.77, allocations: 0.6411 MB / 8.049 GB, free: 19.61 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005483/23.77, allocations: 119.2 kB / 8.049 GB, free: 19.61 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008267/23.77, allocations: 11.65 MB / 8.061 GB, free: 9.48 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/23.77, allocations: 5.688 kB / 8.061 GB, free: 9.48 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/23.79, allocations: 7.391 MB / 8.068 GB, free: 8.406 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/23.79, allocations: 1.579 MB / 8.069 GB, free: 7.836 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/23.8, allocations: 91.16 kB / 8.07 GB, free: 7.836 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007463/23.8, allocations: 0.6246 MB / 8.07 GB, free: 7.75 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008085/23.8, allocations: 273.8 kB / 8.07 GB, free: 7.738 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007213/23.8, allocations: 180.7 kB / 8.071 GB, free: 7.738 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01138/23.82, allocations: 5.235 MB / 8.076 GB, free: 7.406 MB / 1.37 GB Notification: Performance of sort global known variables: time 9.12e-07/23.82, allocations: 6.844 kB / 8.076 GB, free: 7.402 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.0252/23.84, allocations: 4.813 MB / 8.08 GB, free: 7.199 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 (373): * Single equations (assignments): 353 * 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.01126/23.85, allocations: 5.79 MB / 8.086 GB, free: 4.152 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02006/23.87, allocations: 8.75 MB / 8.095 GB, free: 3.066 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/23.87, allocations: 6.75 kB / 8.095 GB, free: 3.066 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.005351/23.88, allocations: 2.964 MB / 8.097 GB, free: 2.184 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02348/23.9, allocations: 4.288 MB / 8.102 GB, free: 1.926 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/23.94, allocations: 14.04 MB / 8.115 GB, free: 13.87 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/23.95, allocations: 5.166 MB / 8.12 GB, free: 12.85 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.02474/23.97, allocations: 3.379 MB / 8.124 GB, free: 12.39 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/23.98, allocations: 0.5087 MB / 8.124 GB, free: 12.38 MB / 1.385 GB Notification: Performance of SimCode: time 1.333e-06/23.98, allocations: 3.938 kB / 8.124 GB, free: 12.38 MB / 1.385 GB Notification: Performance of Templates: time 1.389/25.36, allocations: 211.2 MB / 8.33 GB, free: 135.7 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