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.415/2.415, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001638/0.001637, allocations: 176.9 kB / 492.3 MB, free: 0.5859 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.612/1.612, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.001052/0.001052, allocations: 98.95 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.974e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.826/6.103, allocations: 2.222 GB / 3.435 GB, free: 54.47 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/6.103, allocations: 90.44 kB / 3.435 GB, free: 54.43 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.24/22.34, allocations: 4.402 GB / 7.837 GB, free: 65.55 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.604e-06/22.34, allocations: 0 / 7.837 GB, free: 65.55 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002036/22.34, allocations: 291.8 kB / 7.837 GB, free: 65.49 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: 1601 * Number of variables: 1601 Notification: Performance of Generate backend data structure: time 0.03175/22.37, allocations: 9.028 MB / 7.846 GB, free: 61.45 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/22.37, allocations: 8.562 kB / 7.846 GB, free: 61.45 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/22.39, allocations: 2.193 MB / 7.848 GB, free: 60.79 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03728/22.42, allocations: 12.75 MB / 7.861 GB, free: 59.15 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006606/22.43, allocations: 0.4924 MB / 7.861 GB, free: 59.13 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00291/22.43, allocations: 0.6758 MB / 7.862 GB, free: 59.12 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/22.45, allocations: 7.197 MB / 7.869 GB, free: 58.25 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/22.45, allocations: 19.31 kB / 7.869 GB, free: 58.25 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008589/22.45, allocations: 264.1 kB / 7.869 GB, free: 58.25 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/22.45, allocations: 265.8 kB / 7.869 GB, free: 58.24 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/22.46, allocations: 5.502 MB / 7.875 GB, free: 58.19 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.06613/22.53, allocations: 37.85 MB / 7.912 GB, free: 38.54 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006166/22.53, allocations: 3.888 MB / 7.916 GB, free: 37.81 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/22.54, allocations: 2.072 MB / 7.918 GB, free: 37.78 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.02575/22.56, allocations: 9.378 MB / 7.927 GB, free: 34.94 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004748/22.57, allocations: 2.091 MB / 7.929 GB, free: 34.81 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006225/22.57, allocations: 469.7 kB / 7.929 GB, free: 34.62 MB / 1.339 GB Notification: Performance of pre-optimization done (n=341): time 2.55e-05/22.57, allocations: 1.641 kB / 7.929 GB, free: 34.62 MB / 1.339 GB Notification: Performance of matching and sorting (n=349): time 0.03198/22.61, allocations: 9.649 MB / 7.939 GB, free: 32.24 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/22.61, allocations: 112.9 kB / 7.939 GB, free: 32.14 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/22.63, allocations: 6.726 MB / 7.945 GB, free: 31.6 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/22.63, allocations: 123.2 kB / 7.945 GB, free: 31.57 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.005485/22.63, allocations: 4.601 MB / 7.95 GB, free: 30.23 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/22.63, allocations: 1.232 MB / 7.951 GB, free: 29.45 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/22.63, allocations: 95.25 kB / 7.951 GB, free: 29.45 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0002737/22.64, allocations: 0.4929 MB / 7.952 GB, free: 29.13 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/22.64, allocations: 1.666 MB / 7.953 GB, free: 29.11 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/22.64, allocations: 3.391 MB / 7.957 GB, free: 27.02 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/22.64, allocations: 2.259 MB / 7.959 GB, free: 26.83 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/22.64, allocations: 8.625 kB / 7.959 GB, free: 26.83 MB / 1.339 GB Notification: Performance of matching and sorting (n=626) (initialization): time 0.01259/22.66, allocations: 6.272 MB / 7.965 GB, free: 25.94 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.005591/22.66, allocations: 21.44 MB / 7.986 GB, free: 19.49 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-05/22.66, allocations: 41.84 kB / 7.986 GB, free: 19.48 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003331/22.67, allocations: 0.8755 MB / 7.987 GB, free: 19.43 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/22.67, allocations: 1.078 MB / 7.988 GB, free: 19.35 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/22.68, allocations: 5.775 MB / 7.993 GB, free: 14.99 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/22.69, allocations: 0.6925 MB / 7.994 GB, free: 14.87 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/22.69, allocations: 244.2 kB / 7.994 GB, free: 14.87 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/22.69, allocations: 2.938 kB / 7.994 GB, free: 14.87 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01418/22.7, allocations: 5.395 MB / 8 GB, free: 14.42 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/22.7, allocations: 36.06 kB / 8 GB, free: 14.42 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/22.71, allocations: 0.8095 MB / 8 GB, free: 14.36 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/22.71, allocations: 1.037 MB / 8.002 GB, free: 14.29 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/22.72, allocations: 7.586 MB / 8.009 GB, free: 9.508 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/22.73, allocations: 0.6515 MB / 8.01 GB, free: 9.406 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/22.74, allocations: 234.2 kB / 8.01 GB, free: 9.402 MB / 1.354 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (571): * Single equations (assignments): 564 * 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 {3 8,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.002589/22.74, allocations: 406 kB / 8.01 GB, free: 9.207 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003476/22.74, allocations: 0.8316 MB / 8.011 GB, free: 8.762 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/22.75, allocations: 5.105 MB / 8.016 GB, free: 8.332 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/22.76, allocations: 45.05 kB / 8.016 GB, free: 8.324 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/22.76, allocations: 3.344 kB / 8.016 GB, free: 8.324 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006523/22.76, allocations: 3.745 MB / 8.02 GB, free: 8.035 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/22.8, allocations: 12.23 MB / 8.032 GB, free: 7.086 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/22.8, allocations: 3.469 kB / 8.032 GB, free: 7.086 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/22.8, allocations: 0.6633 MB / 8.032 GB, free: 7.051 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/22.8, allocations: 0.6527 MB / 8.033 GB, free: 6.961 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/22.8, allocations: 106.2 kB / 8.033 GB, free: 6.961 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008668/22.81, allocations: 11.67 MB / 8.044 GB, free: 12.83 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/22.81, allocations: 3.469 kB / 8.044 GB, free: 12.83 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/22.82, allocations: 6.98 MB / 8.051 GB, free: 11.8 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006231/22.83, allocations: 1.522 MB / 8.053 GB, free: 11.25 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002993/22.83, allocations: 82.53 kB / 8.053 GB, free: 11.25 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008231/22.84, allocations: 0.5891 MB / 8.053 GB, free: 11.16 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/22.84, allocations: 243.4 kB / 8.054 GB, free: 11.16 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008701/22.84, allocations: 168.1 kB / 8.054 GB, free: 11.16 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01149/22.85, allocations: 5.075 MB / 8.059 GB, free: 10.87 MB / 1.37 GB Notification: Performance of sort global known variables: time 5.21e-07/22.85, allocations: 0 / 8.059 GB, free: 10.87 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.02858/22.88, allocations: 4.707 MB / 8.063 GB, free: 10.67 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (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) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 314 * 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.01151/22.89, allocations: 5.784 MB / 8.069 GB, free: 7.609 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01992/22.91, allocations: 8.382 MB / 8.077 GB, free: 6.539 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/22.91, allocations: 5.625 kB / 8.077 GB, free: 6.539 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/22.92, allocations: 2.818 MB / 8.08 GB, free: 5.668 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02315/22.94, allocations: 4.239 MB / 8.084 GB, free: 5.422 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/22.98, allocations: 13.42 MB / 8.097 GB, free: 1.516 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009868/22.99, allocations: 4.992 MB / 8.102 GB, free: 0.5078 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.02041/23.01, allocations: 3.311 MB / 8.105 GB, free: 64 kB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/23.01, allocations: 490.5 kB / 8.106 GB, free: 52 kB / 1.37 GB Notification: Performance of SimCode: time 1.202e-06/23.01, allocations: 0 / 8.106 GB, free: 52 kB / 1.37 GB Notification: Performance of Templates: time 1.44/24.45, allocations: 207.3 MB / 8.308 GB, free: 138.2 MB / 1.417 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