Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_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.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_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_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.001223/0.001222, allocations: 170.1 kB / 16.11 MB, free: 5.586 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.654/1.654, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0009573/0.0009575, allocations: 90.38 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9118/0.9118, allocations: 89.59 MB / 408.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004458, allocations: 19.98 kB / 485.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4367, allocations: 66.01 MB / 0.5383 GB, free: 34.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.672, allocations: 432.8 MB / 0.9609 GB, free: 194.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/1.673, allocations: 85.11 kB / 0.961 GB, free: 194.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1744/1.847, allocations: 86.75 MB / 1.046 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.225e-06/1.847, allocations: 0 / 1.046 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.547e-05/1.847, allocations: 8 kB / 1.046 GB, free: 106.7 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.001501/1.849, allocations: 0.7014 MB / 1.046 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.849, allocations: 8.031 kB / 1.046 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/1.849, allocations: 44.47 kB / 1.046 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/1.85, allocations: 311.5 kB / 1.047 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/1.85, allocations: 20.94 kB / 1.047 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/1.85, allocations: 24.38 kB / 1.047 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/1.85, allocations: 312.1 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.85, allocations: 0 / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/1.85, allocations: 12 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/1.85, allocations: 12 kB / 1.047 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/1.851, allocations: 215.8 kB / 1.047 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/1.852, allocations: 1.573 MB / 1.049 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/1.853, allocations: 255.7 kB / 1.049 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/1.853, allocations: 114.7 kB / 1.049 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/1.854, allocations: 457.5 kB / 1.05 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/1.854, allocations: 38.56 kB / 1.05 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/1.854, allocations: 0 / 1.05 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0009494/1.855, allocations: 463 kB / 1.05 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.855, allocations: 102.8 kB / 1.05 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/1.855, allocations: 292.6 kB / 1.051 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/1.855, allocations: 29.7 kB / 1.051 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/1.855, allocations: 192.1 kB / 1.051 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/1.855, allocations: 82.75 kB / 1.051 GB, free: 101 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/1.855, allocations: 4 kB / 1.051 GB, free: 101 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/1.855, allocations: 342.8 kB / 1.051 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.855, allocations: 92.19 kB / 1.051 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/1.856, allocations: 154.4 kB / 1.051 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/1.856, allocations: 253.8 kB / 1.052 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.856, allocations: 96 / 1.052 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005509/1.857, allocations: 330.2 kB / 1.052 GB, free: 99.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.857, allocations: 11.94 kB / 1.052 GB, free: 99.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.857, allocations: 0 / 1.052 GB, free: 99.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/1.857, allocations: 20.84 kB / 1.052 GB, free: 99.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/1.857, allocations: 55.91 kB / 1.052 GB, free: 99.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007579/1.858, allocations: 1.288 MB / 1.053 GB, free: 98.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/1.858, allocations: 43.86 kB / 1.053 GB, free: 98.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/1.858, allocations: 8 kB / 1.053 GB, free: 98.21 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.0001415/1.858, allocations: 149.5 kB / 1.053 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/1.858, allocations: 35.61 kB / 1.054 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/1.859, allocations: 329.3 kB / 1.054 GB, free: 97.69 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.859, allocations: 4 kB / 1.054 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.859, allocations: 4 kB / 1.054 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.859, allocations: 0 / 1.054 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/1.859, allocations: 353.3 kB / 1.054 GB, free: 97.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.859, allocations: 0 / 1.054 GB, free: 97.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/1.86, allocations: 35.92 kB / 1.054 GB, free: 97.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.968e-05/1.86, allocations: 24.84 kB / 1.054 GB, free: 97.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.86, allocations: 7.984 kB / 1.054 GB, free: 97.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/1.86, allocations: 1.288 MB / 1.055 GB, free: 95.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.86, allocations: 8.094 kB / 1.055 GB, free: 95.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/1.861, allocations: 0.6409 MB / 1.056 GB, free: 95.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/1.861, allocations: 100.7 kB / 1.056 GB, free: 95.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/1.861, allocations: 16.06 kB / 1.056 GB, free: 95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/1.861, allocations: 19.92 kB / 1.056 GB, free: 94.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/1.861, allocations: 19.97 kB / 1.056 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/1.861, allocations: 12 kB / 1.056 GB, free: 94.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001569/1.862, allocations: 199.1 kB / 1.056 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/1.862, allocations: 4 kB / 1.056 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005566/1.862, allocations: 115.8 kB / 1.057 GB, free: 94.63 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.0004974/1.863, allocations: 312.9 kB / 1.057 GB, free: 94.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006334/1.863, allocations: 374.5 kB / 1.057 GB, free: 93.94 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.863, allocations: 3.938 kB / 1.057 GB, free: 93.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/1.864, allocations: 272.3 kB / 1.058 GB, free: 93.65 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/1.865, allocations: 73.22 kB / 1.058 GB, free: 93.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.866, allocations: 0.9179 MB / 1.058 GB, free: 92.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/1.866, allocations: 0.7797 MB / 1.059 GB, free: 91.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001718/1.866, allocations: 42.22 kB / 1.059 GB, free: 91.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/1.866, allocations: 31.42 kB / 1.059 GB, free: 91.75 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/1.866, allocations: 0 / 1.059 GB, free: 91.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.01136/1.878, allocations: 6.543 MB / 1.066 GB, free: 85.27 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches