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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) 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) 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 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 229.6 MB, free: 7.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009254, allocations: 87.11 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01123/0.01123, allocations: 1.569 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.802/0.802, allocations: 90.04 MB / 474 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.209e-05, allocations: 3.25 kB / 0.5375 GB, free: 33.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1856, allocations: 69.38 MB / 0.6052 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.499, allocations: 432.3 MB / 1.027 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/1.5, allocations: 90.39 kB / 1.027 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1679/1.668, allocations: 88.58 MB / 1.114 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/1.668, allocations: 0 / 1.114 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.669e-05/1.668, allocations: 16 kB / 1.114 GB, free: 48.16 MB / 0.6042 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.001211/1.669, allocations: 0.6542 MB / 1.115 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.669, allocations: 11.97 kB / 1.115 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/1.669, allocations: 43.47 kB / 1.115 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/1.669, allocations: 298.3 kB / 1.115 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/1.669, allocations: 12 kB / 1.115 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/1.669, allocations: 19.91 kB / 1.115 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002675/1.67, allocations: 157.1 kB / 1.115 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/1.67, allocations: 250.6 kB / 1.115 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.67, allocations: 0 / 1.115 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/1.67, allocations: 0 / 1.115 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.67, allocations: 12 kB / 1.115 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/1.672, allocations: 1.514 MB / 1.117 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/1.672, allocations: 231.8 kB / 1.117 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/1.672, allocations: 82.69 kB / 1.117 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/1.673, allocations: 461.4 kB / 1.118 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/1.673, allocations: 38.5 kB / 1.118 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/1.673, allocations: 4.109 kB / 1.118 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007674/1.673, allocations: 289.9 kB / 1.118 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/1.673, allocations: 114.8 kB / 1.118 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/1.674, allocations: 210.4 kB / 1.118 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.674, allocations: 25.7 kB / 1.118 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/1.674, allocations: 200 kB / 1.118 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/1.674, allocations: 82.84 kB / 1.119 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.674, allocations: 0 / 1.119 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/1.674, allocations: 338.8 kB / 1.119 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/1.674, allocations: 64.23 kB / 1.119 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/1.674, allocations: 118.2 kB / 1.119 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/1.675, allocations: 147.8 kB / 1.119 GB, free: 42.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.675, allocations: 0 / 1.119 GB, free: 42.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006291/1.675, allocations: 341.8 kB / 1.119 GB, free: 42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/1.675, allocations: 8 kB / 1.119 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.675, allocations: 0 / 1.119 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/1.675, allocations: 24.84 kB / 1.12 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.676, allocations: 51.91 kB / 1.12 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007094/1.676, allocations: 1.241 MB / 1.121 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.676, allocations: 35.92 kB / 1.121 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/1.677, allocations: 8 kB / 1.121 GB, free: 40.52 MB / 0.6042 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 () * 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 9.1e-05/1.677, allocations: 104.9 kB / 1.121 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/1.677, allocations: 31.62 kB / 1.121 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/1.677, allocations: 332.2 kB / 1.121 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.677, allocations: 7.984 kB / 1.121 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/1.677, allocations: 4.281 kB / 1.121 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.677, allocations: 0 / 1.121 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/1.678, allocations: 305.8 kB / 1.122 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.678, allocations: 7.938 kB / 1.122 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/1.678, allocations: 39.91 kB / 1.122 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/1.678, allocations: 28.78 kB / 1.122 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.678, allocations: 4 kB / 1.122 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005682/1.679, allocations: 1.244 MB / 1.123 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.679, allocations: 0 / 1.123 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/1.68, allocations: 0.6541 MB / 1.123 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/1.68, allocations: 100.8 kB / 1.124 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/1.68, allocations: 0 / 1.124 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.68, allocations: 23.88 kB / 1.124 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/1.68, allocations: 19.97 kB / 1.124 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.68, allocations: 8.125 kB / 1.124 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001145/1.68, allocations: 174 kB / 1.124 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/1.68, allocations: 0 / 1.124 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005287/1.681, allocations: 103.8 kB / 1.124 GB, free: 37.12 MB / 0.6042 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 () * 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.0004551/1.681, allocations: 317.2 kB / 1.124 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004971/1.682, allocations: 324.4 kB / 1.125 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.682, allocations: 0 / 1.125 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/1.682, allocations: 235.4 kB / 1.125 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/1.682, allocations: 73.22 kB / 1.125 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/1.683, allocations: 0.5704 MB / 1.125 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.684, allocations: 0.7953 MB / 1.126 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001402/1.684, allocations: 37.95 kB / 1.126 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/1.684, allocations: 19.44 kB / 1.126 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/1.684, allocations: 0 / 1.126 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.008785/1.693, allocations: 5.098 MB / 1.131 GB, free: 29.63 MB / 0.6042 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