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 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.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 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 173 kB / 16.12 MB, free: 5.691 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.65/1.65, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0008055/0.0008053, allocations: 88.86 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8783/0.8783, allocations: 89.58 MB / 408.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004233, allocations: 15.94 kB / 485.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4036, allocations: 66.01 MB / 0.5383 GB, free: 34.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7966/1.2, allocations: 353.8 MB / 0.8838 GB, free: 7.301 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/1.201, allocations: 87.22 kB / 0.8838 GB, free: 7.262 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5047/1.705, allocations: 97.15 MB / 0.9787 GB, free: 180.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.496e-06/1.705, allocations: 3.938 kB / 0.9787 GB, free: 180.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.735e-05/1.706, allocations: 12 kB / 0.9787 GB, free: 180.4 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002002/1.708, allocations: 0.8418 MB / 0.9795 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.708, allocations: 8.031 kB / 0.9795 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/1.708, allocations: 60.28 kB / 0.9796 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/1.709, allocations: 379.5 kB / 0.98 GB, free: 179.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/1.709, allocations: 29.38 kB / 0.98 GB, free: 179 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/1.709, allocations: 40.38 kB / 0.98 GB, free: 179 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/1.71, allocations: 451.6 kB / 0.9805 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.71, allocations: 7.938 kB / 0.9805 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/1.71, allocations: 15.98 kB / 0.9805 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.71, allocations: 12 kB / 0.9805 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/1.71, allocations: 411.7 kB / 0.9809 GB, free: 178.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/1.713, allocations: 2.038 MB / 0.9829 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/1.713, allocations: 481.2 kB / 0.9833 GB, free: 175.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/1.714, allocations: 206.8 kB / 0.9835 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/1.714, allocations: 433.5 kB / 0.984 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/1.714, allocations: 46.48 kB / 0.984 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/1.714, allocations: 0 / 0.984 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.005399/1.72, allocations: 1.575 MB / 0.9855 GB, free: 173 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/1.72, allocations: 89.09 kB / 0.9856 GB, free: 172.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/1.72, allocations: 321.7 kB / 0.9859 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/1.72, allocations: 37.7 kB / 0.986 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.72, allocations: 224.4 kB / 0.9862 GB, free: 172.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.72, allocations: 161.7 kB / 0.9863 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/1.72, allocations: 8 kB / 0.9863 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/1.72, allocations: 350.8 kB / 0.9867 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.721, allocations: 140.8 kB / 0.9868 GB, free: 171.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/1.721, allocations: 197 kB / 0.987 GB, free: 171.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/1.721, allocations: 367 kB / 0.9873 GB, free: 171 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.721, allocations: 0 / 0.9873 GB, free: 171 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002354/1.724, allocations: 0.8132 MB / 0.9881 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.724, allocations: 11.92 kB / 0.9882 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.724, allocations: 4.031 kB / 0.9882 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/1.726, allocations: 477.3 kB / 0.9886 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.726, allocations: 67.89 kB / 0.9887 GB, free: 169.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.728, allocations: 2.094 MB / 0.9907 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/1.728, allocations: 47.77 kB / 0.9908 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/1.728, allocations: 16 kB / 0.9908 GB, free: 167.3 MB / 0.5886 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.0002825/1.728, allocations: 157.7 kB / 0.9909 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.729, allocations: 43.44 kB / 0.991 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.731, allocations: 0.8461 MB / 0.9918 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.731, allocations: 4 kB / 0.9918 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.731, allocations: 0 / 0.9918 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.731, allocations: 3.938 kB / 0.9918 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/1.734, allocations: 1.405 MB / 0.9932 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.734, allocations: 0 / 0.9932 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/1.734, allocations: 55.91 kB / 0.9932 GB, free: 164.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/1.737, allocations: 489.2 kB / 0.9937 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/1.737, allocations: 15.98 kB / 0.9937 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.738, allocations: 2.083 MB / 0.9957 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.738, allocations: 0 / 0.9957 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/1.741, allocations: 1.173 MB / 0.9969 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/1.741, allocations: 120.6 kB / 0.997 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/1.741, allocations: 15.88 kB / 0.997 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/1.741, allocations: 27.83 kB / 0.997 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/1.741, allocations: 36.02 kB / 0.9971 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/1.741, allocations: 12 kB / 0.9971 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002704/1.742, allocations: 227.2 kB / 0.9973 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.742, allocations: 0 / 0.9973 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009031/1.743, allocations: 203.7 kB / 0.9975 GB, free: 160.1 MB / 0.5886 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.0007203/1.743, allocations: 407.6 kB / 0.9979 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.744, allocations: 0.5312 MB / 0.9984 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.744, allocations: 0 / 0.9984 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/1.745, allocations: 388.1 kB / 0.9988 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/1.746, allocations: 117.5 kB / 0.9989 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/1.748, allocations: 1.234 MB / 1 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/1.748, allocations: 0.832 MB / 1.001 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002577/1.748, allocations: 59.06 kB / 1.001 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/1.748, allocations: 35.44 kB / 1.001 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/1.748, allocations: 0 / 1.001 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.01708/1.765, allocations: 10.34 MB / 1.011 GB, free: 146.2 MB / 0.5886 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