Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.01215/0.01215, 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 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001038/0.001038, allocations: 86.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8267/0.8267, allocations: 90.59 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.000419, allocations: 16 kB / 485.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4841, allocations: 66.28 MB / 0.5386 GB, free: 45.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.704/1.188, allocations: 354.1 MB / 0.8844 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.188, allocations: 83.62 kB / 0.8844 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5525/1.741, allocations: 132.3 MB / 1.014 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.192e-06/1.741, allocations: 1.125 kB / 1.014 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.494e-05/1.741, allocations: 21.03 kB / 1.014 GB, free: 164.1 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.002337/1.743, allocations: 1.088 MB / 1.015 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.743, allocations: 9.75 kB / 1.015 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/1.744, allocations: 93.78 kB / 1.015 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/1.745, allocations: 448.4 kB / 1.015 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/1.745, allocations: 48.08 kB / 1.015 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.745, allocations: 61.95 kB / 1.015 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.746, allocations: 0.6594 MB / 1.016 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/1.746, allocations: 7.734 kB / 1.016 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/1.746, allocations: 28.64 kB / 1.016 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/1.746, allocations: 14.75 kB / 1.016 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.747, allocations: 0.6232 MB / 1.017 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/1.751, allocations: 3.002 MB / 1.02 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.752, allocations: 0.7332 MB / 1.02 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/1.752, allocations: 0.6789 MB / 1.021 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.752, allocations: 46.67 kB / 1.021 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 2.114e-06/1.752, allocations: 0 / 1.021 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.01762/1.77, allocations: 2.845 MB / 1.024 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.77, allocations: 84.3 kB / 1.024 GB, free: 160 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008891/1.771, allocations: 366.2 kB / 1.024 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.771, allocations: 38.52 kB / 1.024 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.771, allocations: 309.9 kB / 1.025 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/1.772, allocations: 235.8 kB / 1.025 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/1.772, allocations: 16.41 kB / 1.025 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.772, allocations: 376.7 kB / 1.025 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.772, allocations: 221.1 kB / 1.025 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/1.773, allocations: 311.1 kB / 1.026 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/1.774, allocations: 259.2 kB / 1.026 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.774, allocations: 3.594 kB / 1.026 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.007495/1.781, allocations: 1.39 MB / 1.027 GB, free: 159 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/1.782, allocations: 5.906 kB / 1.027 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.782, allocations: 2.75 kB / 1.027 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007329/1.789, allocations: 0.9137 MB / 1.028 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/1.79, allocations: 103.3 kB / 1.028 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/1.793, allocations: 2.835 MB / 1.031 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.794, allocations: 75.45 kB / 1.031 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.794, allocations: 22.59 kB / 1.031 GB, free: 156.6 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.0006165/1.794, allocations: 193.2 kB / 1.031 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/1.795, allocations: 65.16 kB / 1.031 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007946/1.803, allocations: 1.432 MB / 1.033 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.803, allocations: 11.67 kB / 1.033 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.803, allocations: 3.906 kB / 1.033 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.803, allocations: 2.859 kB / 1.033 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009159/1.812, allocations: 2.15 MB / 1.035 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.812, allocations: 9.953 kB / 1.035 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/1.813, allocations: 85.7 kB / 1.035 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007404/1.82, allocations: 0.9116 MB / 1.036 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.82, allocations: 15.52 kB / 1.036 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/1.822, allocations: 2.84 MB / 1.039 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.822, allocations: 3.891 kB / 1.039 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/1.828, allocations: 1.863 MB / 1.041 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/1.828, allocations: 141.9 kB / 1.041 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/1.829, allocations: 19.62 kB / 1.041 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/1.829, allocations: 26.34 kB / 1.041 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.829, allocations: 54.7 kB / 1.041 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/1.829, allocations: 22.94 kB / 1.041 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00035/1.829, allocations: 294 kB / 1.041 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/1.829, allocations: 0 / 1.041 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001236/1.831, allocations: 318.9 kB / 1.041 GB, free: 152 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.0008309/1.832, allocations: 0.5252 MB / 1.042 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001418/1.833, allocations: 0.7646 MB / 1.043 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.833, allocations: 0 / 1.043 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/1.834, allocations: 0.5002 MB / 1.043 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/1.835, allocations: 167.1 kB / 1.043 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/1.837, allocations: 1.704 MB / 1.045 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.837, allocations: 0.9341 MB / 1.046 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003324/1.838, allocations: 95.98 kB / 1.046 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.838, allocations: 42.78 kB / 1.046 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of SimCode: time 7.71e-07/1.838, allocations: 0 / 1.046 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.04192/1.88, allocations: 15.31 MB / 1.061 GB, free: 147.9 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches