Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PID1.I.y|PID2.I.y|Time|boilerEspresso.phaseSeparator2_1.M|boilerEspresso.phaseSeparator2_1.U_med|firstOrder1.y|firstOrder2.y|firstOrder3.y|pulse.T_start|pulse.count|pulse1.T_start|pulse1.count|source.outlet.m_flow|tanValve1.inlet.m_flow|tanValve2.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso") translateModel(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PID1.I.y|PID2.I.y|Time|boilerEspresso.phaseSeparator2_1.M|boilerEspresso.phaseSeparator2_1.U_med|firstOrder1.y|firstOrder2.y|firstOrder3.y|pulse.T_start|pulse.count|pulse1.T_start|pulse1.count|source.outlet.m_flow|tanValve1.inlet.m_flow|tanValve2.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 173.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 213.4 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.000849, allocations: 84.3 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7904/0.7904, allocations: 90.36 MB / 399.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.67e-05, allocations: 4 kB / 472.2 MB, free: 3.473 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 66.26 MB / 0.5258 GB, free: 29.03 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.736/9.144, allocations: 3.575 GB / 4.1 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/9.144, allocations: 87.53 kB / 4.1 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.483/11.63, allocations: 0.6403 GB / 4.741 GB, free: 25.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.304e-06/11.63, allocations: 3.938 kB / 4.741 GB, free: 25.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001636/11.63, allocations: 36 kB / 4.741 GB, free: 25.87 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.01443/11.64, allocations: 3.178 MB / 4.744 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/11.64, allocations: 8.031 kB / 4.744 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/11.64, allocations: 373.4 kB / 4.744 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/11.65, allocations: 0.945 MB / 4.745 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/11.65, allocations: 56 kB / 4.745 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/11.65, allocations: 103.9 kB / 4.745 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002536/11.65, allocations: 1.217 MB / 4.747 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/11.65, allocations: 1.413 MB / 4.748 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/11.65, allocations: 0 / 4.748 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/11.65, allocations: 7.938 kB / 4.748 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.288e-05/11.65, allocations: 54.86 kB / 4.748 GB, free: 18.37 MB / 0.5886 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.008519/11.66, allocations: 7.783 MB / 4.756 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/11.66, allocations: 1.02 MB / 4.757 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007162/11.66, allocations: 0.5403 MB / 4.757 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4889/12.15, allocations: 36.06 MB / 4.792 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/12.15, allocations: 0.6126 MB / 4.793 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=135): time 3.547e-06/12.15, allocations: 0 / 4.793 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=135): time 0.00404/12.16, allocations: 1.597 MB / 4.794 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/12.16, allocations: 119.1 kB / 4.795 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/12.16, allocations: 0.6408 MB / 4.795 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/12.16, allocations: 30.02 kB / 4.795 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/12.16, allocations: 0.6656 MB / 4.796 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/12.16, allocations: 448.2 kB / 4.796 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/12.16, allocations: 0.5625 kB / 4.796 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/12.16, allocations: 361.6 kB / 4.797 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/12.16, allocations: 386.5 kB / 4.797 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/12.16, allocations: 0.6012 MB / 4.798 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/12.16, allocations: 492.2 kB / 4.798 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/12.16, allocations: 1.406 kB / 4.798 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002987/12.17, allocations: 1.386 MB / 4.799 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004101/12.17, allocations: 1.801 MB / 4.801 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/12.17, allocations: 6.188 kB / 4.801 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006586/12.17, allocations: 197 kB / 4.801 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/12.17, allocations: 298.8 kB / 4.802 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/12.17, allocations: 5.744 MB / 4.807 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/12.17, allocations: 159.9 kB / 4.807 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/12.17, allocations: 57.98 kB / 4.807 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/12.17, allocations: 4.219 kB / 4.807 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003044/12.18, allocations: 1.23 MB / 4.809 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/12.18, allocations: 5.922 kB / 4.809 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/12.18, allocations: 194 kB / 4.809 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/12.18, allocations: 288.1 kB / 4.809 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/12.18, allocations: 5.744 MB / 4.815 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/12.19, allocations: 138.6 kB / 4.815 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/12.19, allocations: 55.48 kB / 4.815 GB, free: 40.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 22 (boilerEspresso.phaseSeparator2_1.state_out[1].phase,boilerEspresso.phaseSeparator2_1.state_out[2].phase,tanValve.outlet.state.phase,$whenCondition2,$whenCondition1,boilerEspresso.phaseSeparator2_1.medium.phase,source.outlet.state.phase,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,flowResistance2.outlet.state.phase,tanValve2.outlet.state.phase,flowResistance1.outlet.state.phase,tanValve1.outlet.state.phase,flowResistance.outlet.state.phase,PID1.I.local_reset,PID2.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00045/12.19, allocations: 145.6 kB / 4.815 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/12.19, allocations: 127.1 kB / 4.815 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/12.19, allocations: 3.933 MB / 4.819 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/12.19, allocations: 52.14 kB / 4.819 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/12.19, allocations: 3.734 kB / 4.819 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/12.19, allocations: 12.42 kB / 4.819 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00825/12.2, allocations: 5.82 MB / 4.825 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/12.2, allocations: 1.375 kB / 4.825 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/12.2, allocations: 224.5 kB / 4.825 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/12.2, allocations: 0.843 MB / 4.826 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-05/12.2, allocations: 25.12 kB / 4.826 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004238/12.21, allocations: 6.813 MB / 4.833 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/12.21, allocations: 4.719 kB / 4.833 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/12.21, allocations: 4.131 MB / 4.837 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/12.21, allocations: 420 kB / 4.837 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/12.21, allocations: 8.531 kB / 4.837 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/12.21, allocations: 109.5 kB / 4.837 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/12.21, allocations: 128.9 kB / 4.837 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/12.21, allocations: 50.84 kB / 4.837 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006332/12.22, allocations: 484.3 kB / 4.838 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/12.22, allocations: 0 / 4.838 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007003/12.22, allocations: 1.727 MB / 4.839 GB, free: 33.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (boilerEspresso.phaseSeparator2_1.M,boilerEspresso.phaseSeparator2_1.U_med,flowResistance.inlet.m_flow,tanValve1.inlet.m_flow,firstOrder1.y,tanValve2.inlet.m_flow,firstOrder2.y,firstOrder3.y,PID2.I.y,PID1.I.y) * Number of discrete variables: 30 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse22.region3boundary,$cse23.region3boundary,$whenCondition2,$whenCondition1,boilerEspresso.phaseSeparator2_1.medium.phase,source.outlet.state.phase,pulse.T_start,pulse.count,pulse1.T_start,pulse1.count) * Number of discrete states: 2 (pulse1.count,pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008533/12.23, allocations: 2.295 MB / 4.842 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00533/12.24, allocations: 3.334 MB / 4.845 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/12.24, allocations: 2.438 kB / 4.845 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/12.24, allocations: 1.636 MB / 4.846 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/12.24, allocations: 400.8 kB / 4.847 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/12.25, allocations: 3.441 MB / 4.85 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/12.25, allocations: 1.529 MB / 4.852 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002105/12.25, allocations: 1.079 MB / 4.853 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/12.25, allocations: 100.4 kB / 4.853 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/12.25, allocations: 0 / 4.853 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.07656/12.33, allocations: 50.93 MB / 4.903 GB, free: 27.14 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches