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 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_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 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 172.1 kB / 16.12 MB, free: 5.672 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.713/1.713, 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.000805/0.0008049, allocations: 74.42 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9081/0.9081, allocations: 89.59 MB / 408.5 MB, free: 4.504 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 12.22 kB / 485.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4213, allocations: 66.01 MB / 0.5382 GB, free: 34.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7055/1.127, allocations: 354 MB / 0.884 GB, free: 7.102 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.127, allocations: 85.27 kB / 0.884 GB, free: 7.062 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5996/1.727, allocations: 131.5 MB / 1.012 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.136e-06/1.727, allocations: 0 / 1.012 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.396e-05/1.727, allocations: 20 kB / 1.012 GB, free: 145.5 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002612/1.73, allocations: 1.079 MB / 1.013 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.73, allocations: 12.03 kB / 1.014 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/1.73, allocations: 95.89 kB / 1.014 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008696/1.731, allocations: 469.3 kB / 1.014 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/1.731, allocations: 49.69 kB / 1.014 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.731, allocations: 64.38 kB / 1.014 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.732, allocations: 0.665 MB / 1.015 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.732, allocations: 3.938 kB / 1.015 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/1.732, allocations: 20 kB / 1.015 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/1.732, allocations: 20 kB / 1.015 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/1.733, allocations: 0.6258 MB / 1.015 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/1.737, allocations: 2.974 MB / 1.018 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.738, allocations: 0.7352 MB / 1.019 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/1.738, allocations: 303.9 kB / 1.019 GB, free: 138 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/1.739, allocations: 0.6771 MB / 1.02 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/1.739, allocations: 39.12 kB / 1.02 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 2.966e-06/1.739, allocations: 0 / 1.02 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.009918/1.749, allocations: 2.784 MB / 1.023 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/1.749, allocations: 89.67 kB / 1.023 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/1.749, allocations: 418 kB / 1.023 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/1.749, allocations: 33.7 kB / 1.023 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.749, allocations: 320.2 kB / 1.024 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.75, allocations: 240.5 kB / 1.024 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/1.75, allocations: 12 kB / 1.024 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/1.75, allocations: 374.8 kB / 1.024 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/1.75, allocations: 217.9 kB / 1.024 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/1.75, allocations: 313.4 kB / 1.025 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/1.751, allocations: 0.558 MB / 1.025 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.751, allocations: 4 kB / 1.025 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004288/1.755, allocations: 1.393 MB / 1.027 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.755, allocations: 7.938 kB / 1.027 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.755, allocations: 4 kB / 1.027 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004324/1.76, allocations: 0.9079 MB / 1.028 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/1.76, allocations: 95.89 kB / 1.028 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/1.762, allocations: 2.83 MB / 1.03 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/1.763, allocations: 63.64 kB / 1.03 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.763, allocations: 27.98 kB / 1.03 GB, free: 126.1 MB / 0.5886 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 () * Number of clocked 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.0003449/1.763, allocations: 201.4 kB / 1.031 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.763, allocations: 59.25 kB / 1.031 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/1.768, allocations: 1.423 MB / 1.032 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/1.768, allocations: 12 kB / 1.032 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.768, allocations: 7.938 kB / 1.032 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.768, allocations: 3.984 kB / 1.032 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005203/1.773, allocations: 2.141 MB / 1.034 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.773, allocations: 0 / 1.034 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/1.773, allocations: 83.89 kB / 1.034 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/1.777, allocations: 0.9156 MB / 1.035 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/1.777, allocations: 15.94 kB / 1.035 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.779, allocations: 2.827 MB / 1.038 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.779, allocations: 0 / 1.038 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/1.784, allocations: 1.844 MB / 1.04 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/1.784, allocations: 136.2 kB / 1.04 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/1.784, allocations: 16 kB / 1.04 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/1.785, allocations: 35.92 kB / 1.04 GB, free: 116 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.785, allocations: 52.42 kB / 1.04 GB, free: 116 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/1.785, allocations: 20 kB / 1.04 GB, free: 116 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003089/1.785, allocations: 286.9 kB / 1.04 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.785, allocations: 3.938 kB / 1.04 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001037/1.786, allocations: 323.4 kB / 1.041 GB, free: 115.4 MB / 0.5886 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 () * Number of clocked 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.0008492/1.787, allocations: 0.5235 MB / 1.041 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001375/1.788, allocations: 0.7634 MB / 1.042 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.788, allocations: 4.062 kB / 1.042 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006649/1.789, allocations: 0.4917 MB / 1.042 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.79, allocations: 165.9 kB / 1.042 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/1.792, allocations: 1.727 MB / 1.044 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.793, allocations: 0.9068 MB / 1.045 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003278/1.793, allocations: 92.44 kB / 1.045 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/1.793, allocations: 47.44 kB / 1.045 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.443e-06/1.793, allocations: 0 / 1.045 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.02099/1.814, allocations: 15.48 MB / 1.06 GB, free: 95.2 MB / 0.5886 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