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.008598/0.008598, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.663/1.663, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 94.83 kB / 290.2 MB, free: 4.547 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.0106/0.01059, allocations: 1.555 MB / 342.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9341/0.9341, allocations: 90.31 MB / 484.7 MB, free: 38.24 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000537/0.000537, allocations: 16 kB / 0.5526 GB, free: 4.941 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5099, allocations: 69.35 MB / 0.6203 GB, free: 20.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9251/1.435, allocations: 354.1 MB / 0.9661 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.435, allocations: 87.56 kB / 0.9662 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.772/2.207, allocations: 135.2 MB / 1.098 GB, free: 120 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.736e-06/2.208, allocations: 0 / 1.098 GB, free: 120 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.104e-05/2.208, allocations: 27.98 kB / 1.098 GB, free: 120 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.002941/2.211, allocations: 1.085 MB / 1.099 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/2.211, allocations: 11.98 kB / 1.099 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/2.211, allocations: 98.91 kB / 1.099 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/2.212, allocations: 444.6 kB / 1.1 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/2.212, allocations: 45.31 kB / 1.1 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/2.212, allocations: 63.91 kB / 1.1 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/2.214, allocations: 0.6644 MB / 1.101 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/2.214, allocations: 0 / 1.101 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/2.214, allocations: 24 kB / 1.101 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/2.214, allocations: 16 kB / 1.101 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/2.215, allocations: 0.6258 MB / 1.101 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/2.218, allocations: 3.003 MB / 1.104 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/2.219, allocations: 0.7411 MB / 1.105 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/2.22, allocations: 0.681 MB / 1.106 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/2.22, allocations: 35.12 kB / 1.106 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 3.286e-06/2.22, allocations: 4 kB / 1.106 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.01148/2.232, allocations: 2.853 MB / 1.108 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/2.232, allocations: 85.67 kB / 1.108 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/2.232, allocations: 365.1 kB / 1.109 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/2.232, allocations: 37.7 kB / 1.109 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/2.232, allocations: 316.3 kB / 1.109 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/2.233, allocations: 232.6 kB / 1.109 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/2.233, allocations: 20 kB / 1.109 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.233, allocations: 366.8 kB / 1.11 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/2.233, allocations: 221.9 kB / 1.11 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/2.234, allocations: 309.4 kB / 1.11 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/2.234, allocations: 259.2 kB / 1.11 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/2.234, allocations: 0 / 1.11 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005032/2.239, allocations: 1.396 MB / 1.112 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/2.239, allocations: 4 kB / 1.112 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/2.239, allocations: 4 kB / 1.112 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005052/2.244, allocations: 0.9156 MB / 1.113 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/2.245, allocations: 95.89 kB / 1.113 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/2.247, allocations: 2.842 MB / 1.116 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/2.248, allocations: 63.38 kB / 1.116 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/2.248, allocations: 36.05 kB / 1.116 GB, free: 101.1 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 () * 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.0005812/2.249, allocations: 189.7 kB / 1.116 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/2.249, allocations: 63.25 kB / 1.116 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/2.255, allocations: 1.438 MB / 1.117 GB, free: 99.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/2.255, allocations: 8 kB / 1.117 GB, free: 99.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/2.255, allocations: 0 / 1.117 GB, free: 99.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/2.255, allocations: 7.938 kB / 1.117 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006898/2.262, allocations: 2.145 MB / 1.119 GB, free: 97.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/2.262, allocations: 12.02 kB / 1.119 GB, free: 97.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/2.262, allocations: 75.91 kB / 1.12 GB, free: 97.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00481/2.267, allocations: 0.9194 MB / 1.12 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/2.267, allocations: 23.94 kB / 1.12 GB, free: 96.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/2.269, allocations: 2.831 MB / 1.123 GB, free: 93.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/2.269, allocations: 12.02 kB / 1.123 GB, free: 93.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/2.275, allocations: 1.867 MB / 1.125 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/2.276, allocations: 144.2 kB / 1.125 GB, free: 91.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/2.276, allocations: 12 kB / 1.125 GB, free: 91.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/2.276, allocations: 27.98 kB / 1.125 GB, free: 91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/2.276, allocations: 48.48 kB / 1.125 GB, free: 90.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/2.277, allocations: 20 kB / 1.125 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003554/2.277, allocations: 290.9 kB / 1.126 GB, free: 90.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/2.277, allocations: 0 / 1.126 GB, free: 90.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001396/2.278, allocations: 319.4 kB / 1.126 GB, free: 90.34 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 () * 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.001177/2.279, allocations: 0.5194 MB / 1.126 GB, free: 89.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001555/2.281, allocations: 0.767 MB / 1.127 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.281, allocations: 0 / 1.127 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/2.282, allocations: 0.4961 MB / 1.128 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/2.283, allocations: 182.1 kB / 1.128 GB, free: 88.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/2.286, allocations: 1.717 MB / 1.129 GB, free: 86.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/2.286, allocations: 0.9267 MB / 1.13 GB, free: 85.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000364/2.286, allocations: 80.52 kB / 1.13 GB, free: 85.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/2.286, allocations: 43.42 kB / 1.131 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/2.286, allocations: 0 / 1.131 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.02234/2.309, allocations: 15.32 MB / 1.145 GB, free: 70.34 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