Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001032/0.001032, allocations: 184.1 kB / 492.3 MB, free: 0.6172 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.575/1.575, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008349/0.0008349, allocations: 102.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.059e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.165, allocations: 2.204 GB / 3.416 GB, free: 73.31 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/5.165, allocations: 91.31 kB / 3.417 GB, free: 73.26 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.267/9.432, allocations: 1.345 GB / 4.761 GB, free: 51.96 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.412e-06/9.432, allocations: 7.938 kB / 4.761 GB, free: 51.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004633/9.432, allocations: 99.91 kB / 4.761 GB, free: 51.85 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.008318/9.44, allocations: 3.346 MB / 4.764 GB, free: 48.44 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/9.441, allocations: 19.97 kB / 4.765 GB, free: 48.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006852/9.447, allocations: 1.221 MB / 4.766 GB, free: 47.19 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/9.458, allocations: 4.869 MB / 4.77 GB, free: 42.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/9.458, allocations: 180.5 kB / 4.771 GB, free: 42.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005741/9.459, allocations: 251.9 kB / 4.771 GB, free: 41.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/9.464, allocations: 3.041 MB / 4.774 GB, free: 38.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/9.464, allocations: 7.938 kB / 4.774 GB, free: 38.62 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/9.464, allocations: 96 kB / 4.774 GB, free: 38.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-05/9.464, allocations: 112.3 kB / 4.774 GB, free: 38.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/9.468, allocations: 2.531 MB / 4.777 GB, free: 35.87 MB / 1.151 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.01753/9.485, allocations: 13.3 MB / 4.79 GB, free: 21.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/9.487, allocations: 2.33 MB / 4.792 GB, free: 19.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/9.489, allocations: 0.9698 MB / 4.793 GB, free: 18.54 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008213/9.497, allocations: 4.406 MB / 4.797 GB, free: 13.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/9.498, allocations: 0.9834 MB / 4.798 GB, free: 12.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/9.5, allocations: 198.2 kB / 4.798 GB, free: 12.71 MB / 1.151 GB Notification: Performance of pre-optimization done (n=144): time 4.759e-06/9.5, allocations: 0 / 4.798 GB, free: 12.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=147): time 0.008156/9.508, allocations: 4.396 MB / 4.802 GB, free: 8.227 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/9.508, allocations: 68.72 kB / 4.803 GB, free: 8.148 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/9.512, allocations: 2.763 MB / 4.805 GB, free: 5.379 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/9.512, allocations: 65.7 kB / 4.805 GB, free: 5.309 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/9.513, allocations: 1.506 MB / 4.807 GB, free: 3.789 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/9.513, allocations: 0.52 MB / 4.807 GB, free: 3.262 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/9.513, allocations: 44 kB / 4.807 GB, free: 3.219 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001027/9.514, allocations: 386.1 kB / 4.808 GB, free: 2.836 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/9.515, allocations: 0.8788 MB / 4.809 GB, free: 1.953 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/9.516, allocations: 1.484 MB / 4.81 GB, free: 196 kB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/9.518, allocations: 1.144 MB / 4.811 GB, free: 15.05 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/9.518, allocations: 4 kB / 4.811 GB, free: 15.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005692/9.523, allocations: 2.983 MB / 4.814 GB, free: 12.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002606/9.526, allocations: 7.182 MB / 4.821 GB, free: 4.395 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/9.526, allocations: 16 kB / 4.821 GB, free: 4.379 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/9.528, allocations: 425.2 kB / 4.821 GB, free: 3.961 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/9.53, allocations: 0.4914 MB / 4.822 GB, free: 3.469 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/9.533, allocations: 2.593 MB / 4.824 GB, free: 0.7148 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/9.537, allocations: 231.3 kB / 4.825 GB, free: 500 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/9.537, allocations: 115.9 kB / 4.825 GB, free: 384 kB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/9.537, allocations: 4 kB / 4.825 GB, free: 380 kB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6934/10.23, allocations: 2.67 MB / 4.827 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.369e-05/10.23, allocations: 17.81 kB / 4.827 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/10.23, allocations: 448.4 kB / 4.828 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/10.24, allocations: 489.1 kB / 4.828 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/10.24, allocations: 2.599 MB / 4.831 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/10.24, allocations: 210.8 kB / 4.831 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/10.24, allocations: 111.4 kB / 4.831 GB, free: 199.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (253): * Single equations (assignments): 250 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {3 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006042/10.24, allocations: 234.5 kB / 4.831 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/10.24, allocations: 309.3 kB / 4.832 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/10.25, allocations: 2.422 MB / 4.834 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/10.25, allocations: 17.05 kB / 4.834 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/10.25, allocations: 6.891 kB / 4.834 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003146/10.25, allocations: 2.072 MB / 4.836 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009862/10.26, allocations: 5.34 MB / 4.841 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/10.26, allocations: 7.969 kB / 4.841 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/10.26, allocations: 271.3 kB / 4.842 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/10.26, allocations: 328.7 kB / 4.842 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/10.26, allocations: 47.86 kB / 4.842 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005799/10.27, allocations: 8.973 MB / 4.851 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/10.27, allocations: 1.469 kB / 4.851 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/10.28, allocations: 3.461 MB / 4.854 GB, free: 190.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/10.28, allocations: 0.6702 MB / 4.855 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/10.28, allocations: 40.8 kB / 4.855 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/10.28, allocations: 144.8 kB / 4.855 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/10.28, allocations: 117.9 kB / 4.855 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/10.28, allocations: 74.31 kB / 4.855 GB, free: 190.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003909/10.28, allocations: 2.106 MB / 4.857 GB, free: 190.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.21e-07/10.28, allocations: 0 / 4.857 GB, free: 190.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00678/10.29, allocations: 1.748 MB / 4.859 GB, free: 190.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (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]) * 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 (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00349/10.3, allocations: 2.092 MB / 4.861 GB, free: 189.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007297/10.3, allocations: 4.035 MB / 4.865 GB, free: 189.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/10.3, allocations: 5.688 kB / 4.865 GB, free: 189.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/10.3, allocations: 1.675 MB / 4.866 GB, free: 188.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007581/10.31, allocations: 1.668 MB / 4.868 GB, free: 188.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009033/10.32, allocations: 5.497 MB / 4.873 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/10.32, allocations: 2.456 MB / 4.876 GB, free: 186.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006322/10.33, allocations: 1.847 MB / 4.878 GB, free: 186.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/10.33, allocations: 205.8 kB / 4.878 GB, free: 186.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/10.33, allocations: 0.7812 kB / 4.878 GB, free: 186.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1313/10.46, allocations: 90.63 MB / 4.966 GB, free: 182.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System2.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches