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.001572/0.001572, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.529/1.529, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.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.001031, allocations: 95.36 kB / 285.6 MB, free: 12.99 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.01242/0.01242, allocations: 1.562 MB / 338 MB, free: 8.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6554/0.6554, allocations: 90.04 MB / 479.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.396e-05/5.399e-05, allocations: 4 kB / 0.5445 GB, free: 8.012 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 69.36 MB / 0.6122 GB, free: 2.562 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.402, allocations: 354 MB / 0.958 GB, free: 63.02 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.402, allocations: 80.59 kB / 0.958 GB, free: 62.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.6619/2.064, allocations: 134.6 MB / 1.089 GB, free: 174.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.286e-06/2.064, allocations: 0.875 kB / 1.089 GB, free: 174.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.952e-05/2.064, allocations: 25.55 kB / 1.09 GB, free: 174.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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002216/2.067, allocations: 1.011 MB / 1.09 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/2.067, allocations: 17.55 kB / 1.091 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/2.067, allocations: 97.52 kB / 1.091 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007273/2.068, allocations: 447.8 kB / 1.091 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/2.068, allocations: 51.5 kB / 1.091 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/2.068, allocations: 59.03 kB / 1.091 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/2.069, allocations: 0.6436 MB / 1.092 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/2.069, allocations: 1.094 kB / 1.092 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/2.069, allocations: 24.03 kB / 1.092 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/2.069, allocations: 19.16 kB / 1.092 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/2.07, allocations: 0.6056 MB / 1.092 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/2.074, allocations: 3.001 MB / 1.095 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/2.075, allocations: 0.724 MB / 1.096 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/2.075, allocations: 291.1 kB / 1.096 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/2.075, allocations: 0.6707 MB / 1.097 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/2.076, allocations: 41.97 kB / 1.097 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.525e-06/2.076, allocations: 3.281 kB / 1.097 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.004656/2.08, allocations: 1.287 MB / 1.098 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/2.08, allocations: 85.39 kB / 1.098 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/2.081, allocations: 360.1 kB / 1.099 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/2.081, allocations: 40.23 kB / 1.099 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/2.081, allocations: 314.2 kB / 1.099 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/2.081, allocations: 241.2 kB / 1.099 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/2.081, allocations: 14.34 kB / 1.099 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001025/2.081, allocations: 369.7 kB / 1.1 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/2.082, allocations: 208.2 kB / 1.1 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/2.082, allocations: 298.5 kB / 1.1 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/2.082, allocations: 245.8 kB / 1.1 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.082, allocations: 7.031 kB / 1.1 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004626/2.087, allocations: 1.364 MB / 1.102 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/2.087, allocations: 3.688 kB / 1.102 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/2.087, allocations: 7.203 kB / 1.102 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/2.092, allocations: 0.91 MB / 1.103 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/2.092, allocations: 97.67 kB / 1.103 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/2.094, allocations: 2.829 MB / 1.105 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/2.095, allocations: 65.47 kB / 1.105 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/2.095, allocations: 22.41 kB / 1.106 GB, free: 167.2 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.0001459/2.095, allocations: 142.6 kB / 1.106 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/2.095, allocations: 62.17 kB / 1.106 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/2.1, allocations: 1.427 MB / 1.107 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/2.1, allocations: 6.969 kB / 1.107 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/2.1, allocations: 7.891 kB / 1.107 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/2.1, allocations: 6.75 kB / 1.107 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/2.106, allocations: 2.141 MB / 1.109 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/2.106, allocations: 3.938 kB / 1.109 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/2.106, allocations: 87.05 kB / 1.109 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004509/2.111, allocations: 0.912 MB / 1.11 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/2.111, allocations: 17.64 kB / 1.11 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/2.112, allocations: 2.816 MB / 1.113 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.113, allocations: 6.891 kB / 1.113 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/2.118, allocations: 1.826 MB / 1.115 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/2.118, allocations: 146.3 kB / 1.115 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/2.118, allocations: 11.69 kB / 1.115 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/2.118, allocations: 35.02 kB / 1.115 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.118, allocations: 51.11 kB / 1.115 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/2.119, allocations: 23.55 kB / 1.115 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000311/2.119, allocations: 283.4 kB / 1.115 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/2.119, allocations: 0 / 1.115 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001068/2.12, allocations: 306 kB / 1.116 GB, free: 163 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.0008501/2.121, allocations: 0.5297 MB / 1.116 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001241/2.122, allocations: 0.7448 MB / 1.117 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/2.122, allocations: 0 / 1.117 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/2.123, allocations: 491.3 kB / 1.117 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/2.124, allocations: 166.2 kB / 1.117 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/2.125, allocations: 0.9906 MB / 1.118 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/2.126, allocations: 0.9285 MB / 1.119 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002981/2.126, allocations: 81.16 kB / 1.119 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/2.126, allocations: 46.16 kB / 1.119 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/2.126, allocations: 0 / 1.119 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.02344/2.149, allocations: 15.85 MB / 1.135 GB, free: 158.8 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