Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008501/0.008501, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.95/1.95, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001057/0.001057, allocations: 86.86 kB / 269.6 MB, free: 13.35 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.9373/0.9373, allocations: 90.59 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003635, allocations: 11.94 kB / 485.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4804, allocations: 66.27 MB / 0.5386 GB, free: 45.62 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7327/1.213, allocations: 353.9 MB / 0.8842 GB, free: 57.19 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.214, allocations: 81.02 kB / 0.8842 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1914/1.405, allocations: 97.8 MB / 0.9797 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.464e-06/1.405, allocations: 0 / 0.9797 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.36e-05/1.405, allocations: 15.98 kB / 0.9798 GB, free: 0.8828 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002117/1.407, allocations: 0.838 MB / 0.9806 GB, free: 0 / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 0.2819/1.689, allocations: 7.391 kB / 0.9806 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/1.69, allocations: 63 kB / 0.9806 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/1.69, allocations: 348.1 kB / 0.981 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/1.69, allocations: 34.39 kB / 0.981 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/1.69, allocations: 40.72 kB / 0.981 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/1.691, allocations: 453.8 kB / 0.9815 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.691, allocations: 0 / 0.9815 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/1.691, allocations: 18.45 kB / 0.9815 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/1.691, allocations: 11.78 kB / 0.9815 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/1.692, allocations: 411.6 kB / 0.9819 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/1.694, allocations: 2.059 MB / 0.9839 GB, free: 164 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/1.695, allocations: 482.9 kB / 0.9844 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/1.695, allocations: 433.4 kB / 0.9848 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.695, allocations: 40.94 kB / 0.9848 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.315e-06/1.695, allocations: 0 / 0.9848 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.005915/1.701, allocations: 1.657 MB / 0.9864 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.701, allocations: 89.48 kB / 0.9865 GB, free: 163 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/1.702, allocations: 278.8 kB / 0.9868 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/1.702, allocations: 32.17 kB / 0.9868 GB, free: 162.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.702, allocations: 236.3 kB / 0.9871 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.702, allocations: 152.2 kB / 0.9872 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/1.702, allocations: 12.09 kB / 0.9872 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/1.702, allocations: 354.8 kB / 0.9875 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/1.702, allocations: 138.5 kB / 0.9877 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/1.702, allocations: 190.4 kB / 0.9879 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/1.703, allocations: 170.3 kB / 0.988 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.703, allocations: 2.438 kB / 0.988 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002495/1.705, allocations: 0.813 MB / 0.9888 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.705, allocations: 8.469 kB / 0.9888 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.705, allocations: 0 / 0.9888 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/1.708, allocations: 485.7 kB / 0.9893 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/1.708, allocations: 68.06 kB / 0.9894 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/1.709, allocations: 2.096 MB / 0.9914 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/1.71, allocations: 40.12 kB / 0.9914 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.71, allocations: 17.14 kB / 0.9915 GB, free: 160.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/1.71, allocations: 165.8 kB / 0.9916 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/1.71, allocations: 44.53 kB / 0.9917 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/1.713, allocations: 0.8451 MB / 0.9925 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/1.713, allocations: 5.406 kB / 0.9925 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.713, allocations: 0 / 0.9925 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/1.713, allocations: 0 / 0.9925 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/1.716, allocations: 1.397 MB / 0.9939 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.716, allocations: 6.188 kB / 0.9939 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/1.717, allocations: 59.41 kB / 0.9939 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.719, allocations: 487.6 kB / 0.9944 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.719, allocations: 11.11 kB / 0.9944 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/1.721, allocations: 2.106 MB / 0.9964 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.721, allocations: 0 / 0.9964 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/1.724, allocations: 1.2 MB / 0.9976 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.724, allocations: 122 kB / 0.9977 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/1.724, allocations: 6.062 kB / 0.9977 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/1.724, allocations: 31.28 kB / 0.9978 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.725, allocations: 31.56 kB / 0.9978 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/1.725, allocations: 15.69 kB / 0.9978 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002665/1.725, allocations: 226.6 kB / 0.998 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.725, allocations: 2.438 kB / 0.998 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008923/1.726, allocations: 201.4 kB / 0.9982 GB, free: 157.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (32): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007684/1.727, allocations: 410.5 kB / 0.9986 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.728, allocations: 0.5305 MB / 0.9991 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.728, allocations: 3.812 kB / 0.9991 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/1.728, allocations: 386.1 kB / 0.9995 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/1.729, allocations: 115.3 kB / 0.9996 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.731, allocations: 1.241 MB / 1.001 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/1.732, allocations: 0.8463 MB / 1.002 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002903/1.732, allocations: 56 kB / 1.002 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/1.732, allocations: 37.83 kB / 1.002 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/1.732, allocations: 2.875 kB / 1.002 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.02551/1.758, allocations: 10.23 MB / 1.012 GB, free: 155.3 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches