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.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.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.001234/0.001234, allocations: 185.1 kB / 498.1 MB, free: 5.676 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.821/1.821, 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.0009843/0.0009843, allocations: 103.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 10.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3494, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.261/6.611, allocations: 2.204 GB / 3.427 GB, free: 226.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/6.611, allocations: 96.33 kB / 3.427 GB, free: 226.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.985/12.6, allocations: 1.348 GB / 4.775 GB, free: 204.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.967e-06/12.6, allocations: 4 kB / 4.775 GB, free: 204.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008656/12.6, allocations: 97.11 kB / 4.775 GB, free: 204.3 MB / 1.167 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.02008/12.62, allocations: 4.167 MB / 4.779 GB, free: 202.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/12.62, allocations: 14.88 kB / 4.779 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009185/12.63, allocations: 1.223 MB / 4.78 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01653/12.64, allocations: 4.91 MB / 4.785 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/12.64, allocations: 187.7 kB / 4.785 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/12.64, allocations: 251.8 kB / 4.786 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006322/12.65, allocations: 3.1 MB / 4.789 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.17e-05/12.65, allocations: 11.14 kB / 4.789 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/12.65, allocations: 106 kB / 4.789 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/12.65, allocations: 108.1 kB / 4.789 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/12.66, allocations: 2.631 MB / 4.791 GB, free: 200.8 MB / 1.167 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.02528/12.68, allocations: 13.29 MB / 4.804 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/12.69, allocations: 2.431 MB / 4.807 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/12.7, allocations: 4.404 MB / 4.811 GB, free: 188.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/12.7, allocations: 1.013 MB / 4.812 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002126/12.7, allocations: 204.6 kB / 4.812 GB, free: 188.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=144): time 8.215e-06/12.7, allocations: 0 / 4.812 GB, free: 188.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=147): time 0.01435/12.71, allocations: 5.772 MB / 4.818 GB, free: 185.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/12.71, allocations: 71.11 kB / 4.818 GB, free: 185.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/12.72, allocations: 2.796 MB / 4.821 GB, free: 184.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000748/12.72, allocations: 65.3 kB / 4.821 GB, free: 184 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/12.72, allocations: 1.506 MB / 4.822 GB, free: 182.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009444/12.72, allocations: 0.5131 MB / 4.823 GB, free: 182.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/12.72, allocations: 50.22 kB / 4.823 GB, free: 182.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001582/12.72, allocations: 387.4 kB / 4.823 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/12.73, allocations: 0.9294 MB / 4.824 GB, free: 181.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/12.73, allocations: 1.551 MB / 4.826 GB, free: 180.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/12.73, allocations: 1.183 MB / 4.827 GB, free: 178.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/12.73, allocations: 4 kB / 4.827 GB, free: 178.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006936/12.74, allocations: 3.1 MB / 4.83 GB, free: 175.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002041/12.74, allocations: 7.186 MB / 4.837 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/12.74, allocations: 16 kB / 4.837 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/12.74, allocations: 453 kB / 4.837 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/12.74, allocations: 0.491 MB / 4.838 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/12.75, allocations: 2.69 MB / 4.84 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005108/12.75, allocations: 242.6 kB / 4.84 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007972/12.75, allocations: 108 kB / 4.841 GB, free: 164 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/12.75, allocations: 4 kB / 4.841 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007685/12.76, allocations: 2.793 MB / 4.843 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-05/12.76, allocations: 19.09 kB / 4.843 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/12.76, allocations: 473.5 kB / 4.844 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/12.77, allocations: 490.6 kB / 4.844 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/12.77, allocations: 2.698 MB / 4.847 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/12.78, allocations: 219.4 kB / 4.847 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000652/12.78, allocations: 104 kB / 4.847 GB, free: 157 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {3 8} Notification: Performance of prepare postOptimizeDAE: time 0.004135/12.78, allocations: 1.102 MB / 4.848 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/12.78, allocations: 308.2 kB / 4.849 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007222/12.79, allocations: 2.502 MB / 4.851 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/12.79, allocations: 19.98 kB / 4.851 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/12.79, allocations: 4 kB / 4.851 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003864/12.79, allocations: 2.143 MB / 4.853 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/12.81, allocations: 5.401 MB / 4.858 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/12.81, allocations: 4.125 kB / 4.858 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/12.81, allocations: 279.6 kB / 4.859 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/12.81, allocations: 300.1 kB / 4.859 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/12.81, allocations: 47.97 kB / 4.859 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008575/12.82, allocations: 8.897 MB / 4.868 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/12.82, allocations: 0 / 4.868 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009173/12.83, allocations: 3.567 MB / 4.871 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003719/12.84, allocations: 0.6649 MB / 4.872 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/12.84, allocations: 47.98 kB / 4.872 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/12.84, allocations: 143.6 kB / 4.872 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/12.84, allocations: 121.1 kB / 4.872 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003176/12.84, allocations: 71.94 kB / 4.872 GB, free: 130.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006059/12.85, allocations: 2.139 MB / 4.874 GB, free: 128.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.2e-07/12.85, allocations: 0 / 4.874 GB, free: 128.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01236/12.86, allocations: 1.747 MB / 4.876 GB, free: 126.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (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]) * 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 (149): * Single equations (assignments): 135 * 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%) 3,(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.005994/12.87, allocations: 2.131 MB / 4.878 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01274/12.88, allocations: 4.123 MB / 4.882 GB, free: 120.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/12.88, allocations: 4.25 kB / 4.882 GB, free: 120.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003383/12.88, allocations: 1.698 MB / 4.884 GB, free: 118.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/12.89, allocations: 1.661 MB / 4.885 GB, free: 117 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/12.91, allocations: 7.815 MB / 4.893 GB, free: 109.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/12.92, allocations: 2.447 MB / 4.895 GB, free: 106.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007021/12.92, allocations: 1.168 MB / 4.897 GB, free: 105.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/12.93, allocations: 267.3 kB / 4.897 GB, free: 105.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.034e-06/12.93, allocations: 0 / 4.897 GB, free: 105.4 MB / 1.167 GB Notification: Performance of Templates: time 0.1434/13.07, allocations: 82.25 MB / 4.977 GB, free: 24.28 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