Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 176.2 kB / 7.648 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.55/1.55, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008872/0.0008872, allocations: 93.73 kB / 280.5 MB, free: 5.316 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.01087/0.01087, allocations: 1.562 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.7609/0.7609, allocations: 90.05 MB / 474 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.896e-05, allocations: 2.719 kB / 0.5375 GB, free: 33.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1673, allocations: 69.37 MB / 0.6052 GB, free: 116 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.404, allocations: 353.4 MB / 0.9503 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.404, allocations: 76.06 kB / 0.9504 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2597/1.664, allocations: 133.9 MB / 1.081 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/1.664, allocations: 4 kB / 1.081 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.081e-05/1.664, allocations: 27.92 kB / 1.081 GB, free: 95.74 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002523/1.666, allocations: 1.005 MB / 1.082 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.666, allocations: 8.031 kB / 1.082 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/1.667, allocations: 98.91 kB / 1.082 GB, free: 94.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/1.668, allocations: 454.7 kB / 1.083 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/1.668, allocations: 20 kB / 1.083 GB, free: 94.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/1.668, allocations: 43.91 kB / 1.083 GB, free: 94.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009164/1.669, allocations: 0.561 MB / 1.083 GB, free: 93.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/1.67, allocations: 0.5604 MB / 1.084 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.67, allocations: 0 / 1.084 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/1.67, allocations: 0 / 1.084 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/1.67, allocations: 23.95 kB / 1.084 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/1.673, allocations: 2.887 MB / 1.087 GB, free: 89.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/1.674, allocations: 0.6789 MB / 1.087 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/1.675, allocations: 279.3 kB / 1.088 GB, free: 88.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/1.675, allocations: 0.6693 MB / 1.088 GB, free: 87.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.675, allocations: 43.06 kB / 1.088 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.224e-06/1.675, allocations: 0 / 1.088 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.005205/1.68, allocations: 1.238 MB / 1.09 GB, free: 86.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.68, allocations: 89.67 kB / 1.09 GB, free: 86.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/1.681, allocations: 337.1 kB / 1.09 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/1.681, allocations: 25.7 kB / 1.09 GB, free: 86.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.681, allocations: 308.3 kB / 1.09 GB, free: 85.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/1.681, allocations: 224.6 kB / 1.09 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/1.681, allocations: 0 / 1.09 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.681, allocations: 370.8 kB / 1.091 GB, free: 85.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/1.682, allocations: 193.5 kB / 1.091 GB, free: 85.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/1.682, allocations: 281.8 kB / 1.091 GB, free: 84.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/1.683, allocations: 232.4 kB / 1.092 GB, free: 84.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.683, allocations: 0 / 1.092 GB, free: 84.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004848/1.688, allocations: 1.302 MB / 1.093 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.688, allocations: 8 kB / 1.093 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.688, allocations: 0 / 1.093 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004506/1.692, allocations: 0.9041 MB / 1.094 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/1.693, allocations: 103.8 kB / 1.094 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/1.695, allocations: 2.802 MB / 1.097 GB, free: 79.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/1.696, allocations: 55.47 kB / 1.097 GB, free: 79.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/1.696, allocations: 24 kB / 1.097 GB, free: 79.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.696, allocations: 116.8 kB / 1.097 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.696, allocations: 63.25 kB / 1.097 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00532/1.701, allocations: 1.357 MB / 1.098 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.701, allocations: 4 kB / 1.098 GB, free: 77.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.701, allocations: 7.984 kB / 1.098 GB, free: 77.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.701, allocations: 0 / 1.098 GB, free: 77.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/1.707, allocations: 2.018 MB / 1.1 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.707, allocations: 0 / 1.1 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/1.708, allocations: 87.83 kB / 1.1 GB, free: 75.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004436/1.712, allocations: 0.8924 MB / 1.101 GB, free: 74.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/1.712, allocations: 11.98 kB / 1.101 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/1.714, allocations: 2.814 MB / 1.104 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.714, allocations: 4.125 kB / 1.104 GB, free: 71.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.72, allocations: 1.758 MB / 1.106 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/1.72, allocations: 144.3 kB / 1.106 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.72, allocations: 0 / 1.106 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/1.721, allocations: 19.98 kB / 1.106 GB, free: 69.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.721, allocations: 48.44 kB / 1.106 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/1.721, allocations: 20 kB / 1.106 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003081/1.721, allocations: 259 kB / 1.106 GB, free: 69.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.721, allocations: 4 kB / 1.106 GB, free: 69.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001112/1.722, allocations: 291.4 kB / 1.106 GB, free: 68.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 42 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008891/1.723, allocations: 0.5256 MB / 1.107 GB, free: 68.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.724, allocations: 0.6999 MB / 1.107 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.724, allocations: 4.125 kB / 1.107 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/1.725, allocations: 469.5 kB / 1.108 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/1.726, allocations: 142.3 kB / 1.108 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.728, allocations: 0.954 MB / 1.109 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/1.728, allocations: 0.9231 MB / 1.11 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003541/1.729, allocations: 76.5 kB / 1.11 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.729, allocations: 47.42 kB / 1.11 GB, free: 65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/1.729, allocations: 0 / 1.11 GB, free: 65 MB / 0.6042 GB Notification: Performance of Templates: time 0.02098/1.75, allocations: 13.65 MB / 1.123 GB, free: 51.47 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches