Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01411/0.01411, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.001021/0.001021, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9031/0.9031, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005319, allocations: 12 kB / 485.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5264, allocations: 66.27 MB / 0.5386 GB, free: 45.44 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9381/1.465, allocations: 432.9 MB / 0.9614 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.465, allocations: 88.91 kB / 0.9614 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5446/2.01, allocations: 87.55 MB / 1.047 GB, free: 176.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.076e-06/2.01, allocations: 0 / 1.047 GB, free: 176.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.395e-05/2.01, allocations: 12 kB / 1.047 GB, free: 176.1 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001772/2.011, allocations: 0.7064 MB / 1.048 GB, free: 175.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/2.012, allocations: 8.031 kB / 1.048 GB, free: 175.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/2.012, allocations: 39.72 kB / 1.048 GB, free: 175.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/2.012, allocations: 302.6 kB / 1.048 GB, free: 175 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/2.012, allocations: 25.42 kB / 1.048 GB, free: 175 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/2.012, allocations: 27.98 kB / 1.048 GB, free: 174.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/2.013, allocations: 308.5 kB / 1.048 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/2.013, allocations: 0 / 1.048 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/2.013, allocations: 8 kB / 1.048 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/2.013, allocations: 8 kB / 1.048 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/2.013, allocations: 212.3 kB / 1.049 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/2.015, allocations: 1.592 MB / 1.05 GB, free: 172.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/2.016, allocations: 263.8 kB / 1.05 GB, free: 172.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/2.016, allocations: 457.5 kB / 1.051 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/2.016, allocations: 38.56 kB / 1.051 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.535e-06/2.016, allocations: 0 / 1.051 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001106/2.017, allocations: 0.7688 MB / 1.052 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/2.017, allocations: 106.8 kB / 1.052 GB, free: 170.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/2.018, allocations: 255.7 kB / 1.052 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/2.018, allocations: 29.7 kB / 1.052 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/2.018, allocations: 199.9 kB / 1.052 GB, free: 170.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/2.018, allocations: 74.84 kB / 1.052 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/2.018, allocations: 8 kB / 1.052 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/2.018, allocations: 342.8 kB / 1.053 GB, free: 169.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/2.018, allocations: 88.19 kB / 1.053 GB, free: 169.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/2.018, allocations: 150.5 kB / 1.053 GB, free: 169.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/2.018, allocations: 109.6 kB / 1.053 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/2.018, allocations: 0 / 1.053 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005548/2.019, allocations: 331 kB / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/2.019, allocations: 9.406 kB / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/2.019, allocations: 0 / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/2.019, allocations: 24.81 kB / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/2.019, allocations: 51.91 kB / 1.053 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/2.02, allocations: 1.295 MB / 1.055 GB, free: 167.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/2.021, allocations: 43.95 kB / 1.055 GB, free: 167.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/2.021, allocations: 8 kB / 1.055 GB, free: 167.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001583/2.021, allocations: 141.8 kB / 1.055 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/2.021, allocations: 31.62 kB / 1.055 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/2.021, allocations: 329.6 kB / 1.055 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/2.021, allocations: 4 kB / 1.055 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/2.021, allocations: 4 kB / 1.055 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/2.021, allocations: 0 / 1.055 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/2.022, allocations: 353.1 kB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/2.022, allocations: 3.984 kB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/2.022, allocations: 35.92 kB / 1.055 GB, free: 166.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.48e-05/2.022, allocations: 32.78 kB / 1.055 GB, free: 166.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/2.022, allocations: 8 kB / 1.055 GB, free: 166.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006549/2.023, allocations: 1.296 MB / 1.057 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/2.023, allocations: 0 / 1.057 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/2.024, allocations: 0.6512 MB / 1.057 GB, free: 164.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/2.024, allocations: 112.6 kB / 1.057 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/2.024, allocations: 4 kB / 1.057 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/2.024, allocations: 24.36 kB / 1.058 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/2.024, allocations: 19.97 kB / 1.058 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/2.024, allocations: 11.98 kB / 1.058 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001622/2.024, allocations: 203 kB / 1.058 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/2.024, allocations: 0 / 1.058 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005824/2.025, allocations: 119.8 kB / 1.058 GB, free: 164 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_rear.fore.m_flow,terminal_rear.p,terminal_fore.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/2.025, allocations: 315 kB / 1.058 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006982/2.026, allocations: 382.9 kB / 1.059 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/2.026, allocations: 0 / 1.059 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/2.027, allocations: 260.6 kB / 1.059 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/2.027, allocations: 73.41 kB / 1.059 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/2.028, allocations: 0.9221 MB / 1.06 GB, free: 162 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/2.029, allocations: 0.7952 MB / 1.061 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001707/2.029, allocations: 38.23 kB / 1.061 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/2.029, allocations: 35.36 kB / 1.061 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/2.029, allocations: 0 / 1.061 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.01134/2.04, allocations: 6.454 MB / 1.067 GB, free: 154.8 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches