Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 180.2 kB / 7.65 MB, free: 1.418 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.563/1.563, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.001037/0.001037, allocations: 91.02 kB / 280.5 MB, free: 5.32 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.01/0.01, allocations: 1.553 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8121/0.8121, allocations: 90.03 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.868e-05, allocations: 3 kB / 0.5375 GB, free: 33.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1943, allocations: 69.37 MB / 0.6052 GB, free: 112 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.344, allocations: 353.2 MB / 0.9501 GB, free: 229.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.344, allocations: 82.53 kB / 0.9502 GB, free: 229.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1769/1.521, allocations: 99 MB / 1.047 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/1.521, allocations: 0 / 1.047 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.701e-05/1.521, allocations: 15.98 kB / 1.047 GB, free: 131.3 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001567/1.523, allocations: 0.7871 MB / 1.048 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.523, allocations: 12.03 kB / 1.048 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/1.523, allocations: 71.28 kB / 1.048 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/1.524, allocations: 351.5 kB / 1.048 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.524, allocations: 12 kB / 1.048 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/1.524, allocations: 27.91 kB / 1.048 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005136/1.524, allocations: 370.5 kB / 1.048 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/1.525, allocations: 377.1 kB / 1.049 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.525, allocations: 7.938 kB / 1.049 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/1.525, allocations: 0 / 1.049 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.525, allocations: 15.95 kB / 1.049 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/1.527, allocations: 1.977 MB / 1.051 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/1.528, allocations: 437.5 kB / 1.051 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.528, allocations: 177.7 kB / 1.051 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/1.528, allocations: 438.5 kB / 1.052 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.528, allocations: 38.56 kB / 1.052 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 1.704e-06/1.528, allocations: 0 / 1.052 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.00268/1.531, allocations: 0.7132 MB / 1.052 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/1.531, allocations: 85.11 kB / 1.053 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/1.531, allocations: 262.3 kB / 1.053 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.531, allocations: 25.7 kB / 1.053 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/1.531, allocations: 236.3 kB / 1.053 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/1.531, allocations: 145.8 kB / 1.053 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/1.531, allocations: 0 / 1.053 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/1.531, allocations: 350.8 kB / 1.054 GB, free: 124 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/1.532, allocations: 124.9 kB / 1.054 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/1.532, allocations: 176.2 kB / 1.054 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/1.532, allocations: 144.7 kB / 1.054 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.532, allocations: 0 / 1.054 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002531/1.535, allocations: 0.743 MB / 1.055 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.535, allocations: 13.59 kB / 1.055 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.535, allocations: 0 / 1.055 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/1.537, allocations: 477.2 kB / 1.055 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/1.537, allocations: 63.91 kB / 1.055 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/1.539, allocations: 2.059 MB / 1.057 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/1.539, allocations: 27.73 kB / 1.057 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/1.539, allocations: 16 kB / 1.057 GB, free: 120 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/1.539, allocations: 109.2 kB / 1.057 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/1.539, allocations: 47.38 kB / 1.057 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/1.542, allocations: 0.7875 MB / 1.058 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.542, allocations: 8 kB / 1.058 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.542, allocations: 0 / 1.058 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.542, allocations: 3.984 kB / 1.058 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/1.545, allocations: 1.301 MB / 1.059 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.545, allocations: 0 / 1.059 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/1.546, allocations: 59.91 kB / 1.06 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00225/1.548, allocations: 477.3 kB / 1.06 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/1.548, allocations: 8 kB / 1.06 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/1.549, allocations: 2.058 MB / 1.062 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.549, allocations: 3.953 kB / 1.062 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.552, allocations: 1.13 MB / 1.063 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.552, allocations: 116.5 kB / 1.063 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/1.552, allocations: 0 / 1.063 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/1.552, allocations: 11.98 kB / 1.063 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/1.553, allocations: 39.97 kB / 1.063 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/1.553, allocations: 19.98 kB / 1.063 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001809/1.553, allocations: 192.6 kB / 1.063 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.61e-07/1.553, allocations: 0 / 1.063 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007477/1.553, allocations: 191.5 kB / 1.064 GB, free: 113.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005748/1.554, allocations: 407 kB / 1.064 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007719/1.555, allocations: 0.4909 MB / 1.065 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.555, allocations: 0 / 1.065 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/1.555, allocations: 343 kB / 1.065 GB, free: 112 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/1.556, allocations: 109.9 kB / 1.065 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.557, allocations: 0.6451 MB / 1.066 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.557, allocations: 0.8472 MB / 1.066 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002213/1.558, allocations: 59.08 kB / 1.066 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/1.558, allocations: 31.42 kB / 1.067 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/1.558, allocations: 0 / 1.067 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.01355/1.571, allocations: 8.971 MB / 1.075 GB, free: 101.3 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches