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.01165/0.01165, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 223.2 MB / 239 MB, free: 1.789 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.00103/0.00103, allocations: 89.97 kB / 290.2 MB, free: 13.94 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.01133/0.01133, allocations: 1.554 MB / 342.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9412/0.9412, allocations: 90.3 MB / 484.7 MB, free: 21.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005696, allocations: 22.31 kB / 0.5526 GB, free: 30.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2061, allocations: 69.36 MB / 0.6203 GB, free: 5.637 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.442/1.648, allocations: 353.9 MB / 0.9659 GB, free: 164 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/1.648, allocations: 85.75 kB / 0.966 GB, free: 164 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2198/1.868, allocations: 99.92 MB / 1.064 GB, free: 97.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.616e-06/1.868, allocations: 0 / 1.064 GB, free: 97.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.119e-05/1.868, allocations: 19.98 kB / 1.064 GB, free: 97.07 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.002346/1.871, allocations: 0.8262 MB / 1.064 GB, free: 96.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.871, allocations: 15.98 kB / 1.064 GB, free: 96.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/1.871, allocations: 71.19 kB / 1.064 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/1.872, allocations: 362.5 kB / 1.065 GB, free: 95.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/1.872, allocations: 29 kB / 1.065 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.872, allocations: 40 kB / 1.065 GB, free: 95.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/1.873, allocations: 455 kB / 1.065 GB, free: 95.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.873, allocations: 0 / 1.065 GB, free: 95.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/1.873, allocations: 16 kB / 1.065 GB, free: 95.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/1.873, allocations: 8 kB / 1.065 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/1.874, allocations: 415.7 kB / 1.066 GB, free: 94.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/1.877, allocations: 2.055 MB / 1.068 GB, free: 92.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/1.877, allocations: 487.2 kB / 1.068 GB, free: 92.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/1.878, allocations: 433.5 kB / 1.069 GB, free: 91.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.878, allocations: 34.91 kB / 1.069 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/1.878, allocations: 0 / 1.069 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.006276/1.884, allocations: 1.654 MB / 1.07 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.884, allocations: 81.11 kB / 1.07 GB, free: 89.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/1.885, allocations: 284.8 kB / 1.071 GB, free: 89.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/1.885, allocations: 37.7 kB / 1.071 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/1.885, allocations: 232.4 kB / 1.071 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/1.885, allocations: 153.8 kB / 1.071 GB, free: 88.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/1.885, allocations: 4 kB / 1.071 GB, free: 88.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.885, allocations: 354.8 kB / 1.071 GB, free: 88.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/1.885, allocations: 136.8 kB / 1.072 GB, free: 88.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.886, allocations: 201 kB / 1.072 GB, free: 88.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/1.886, allocations: 165.6 kB / 1.072 GB, free: 88.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.886, allocations: 0 / 1.072 GB, free: 88.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002661/1.889, allocations: 0.8132 MB / 1.073 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.889, allocations: 4 kB / 1.073 GB, free: 87.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.889, allocations: 4 kB / 1.073 GB, free: 87.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/1.891, allocations: 485.2 kB / 1.073 GB, free: 86.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/1.891, allocations: 63.91 kB / 1.073 GB, free: 86.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/1.893, allocations: 2.11 MB / 1.075 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/1.893, allocations: 35.72 kB / 1.075 GB, free: 84.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.894, allocations: 19.98 kB / 1.075 GB, free: 84.35 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 () * Number of clocked 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 0.0003034/1.894, allocations: 157.8 kB / 1.075 GB, free: 84.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.894, allocations: 47.39 kB / 1.075 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/1.897, allocations: 0.8421 MB / 1.076 GB, free: 83.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.897, allocations: 4 kB / 1.076 GB, free: 83.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/1.897, allocations: 15.88 kB / 1.076 GB, free: 83.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.897, allocations: 0 / 1.076 GB, free: 83.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/1.9, allocations: 1.39 MB / 1.078 GB, free: 81.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.9, allocations: 4 kB / 1.078 GB, free: 81.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/1.901, allocations: 59.84 kB / 1.078 GB, free: 81.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/1.903, allocations: 489.2 kB / 1.078 GB, free: 81.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/1.903, allocations: 8 kB / 1.078 GB, free: 81.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/1.905, allocations: 2.11 MB / 1.08 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.905, allocations: 0 / 1.08 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/1.908, allocations: 1.196 MB / 1.081 GB, free: 77.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/1.908, allocations: 124.6 kB / 1.082 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/1.908, allocations: 8 kB / 1.082 GB, free: 77.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/1.908, allocations: 23.89 kB / 1.082 GB, free: 77.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.908, allocations: 35.89 kB / 1.082 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/1.908, allocations: 11.98 kB / 1.082 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002781/1.909, allocations: 227.2 kB / 1.082 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.909, allocations: 0 / 1.082 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000987/1.91, allocations: 203.7 kB / 1.082 GB, free: 77.11 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 () * Number of clocked 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.0007586/1.911, allocations: 403.6 kB / 1.082 GB, free: 76.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.912, allocations: 0.5352 MB / 1.083 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.912, allocations: 0 / 1.083 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/1.912, allocations: 388.2 kB / 1.083 GB, free: 75.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/1.913, allocations: 109.5 kB / 1.083 GB, free: 75.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/1.915, allocations: 1.25 MB / 1.085 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.915, allocations: 0.8437 MB / 1.085 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002743/1.915, allocations: 55.12 kB / 1.086 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/1.916, allocations: 39.42 kB / 1.086 GB, free: 73.39 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/1.916, allocations: 4 kB / 1.086 GB, free: 73.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.01886/1.934, allocations: 10.21 MB / 1.096 GB, free: 63.26 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