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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0008965/0.0008966, allocations: 176 kB / 16.12 MB, free: 5.691 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.291/1.291, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007609/0.0007611, allocations: 98.34 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6636/0.6636, allocations: 89.61 MB / 408.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 12 kB / 485.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 66.01 MB / 0.5383 GB, free: 34.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5812/0.8981, allocations: 353.8 MB / 0.8838 GB, free: 7.207 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.8984, allocations: 90.75 kB / 0.8839 GB, free: 7.164 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.3874/1.286, allocations: 97.14 MB / 0.9787 GB, free: 180.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/1.286, allocations: 4 kB / 0.9787 GB, free: 180.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.733e-05/1.286, allocations: 12 kB / 0.9788 GB, free: 180.3 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.001819/1.288, allocations: 0.8301 MB / 0.9796 GB, free: 179.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.288, allocations: 12.03 kB / 0.9796 GB, free: 179.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/1.288, allocations: 64.27 kB / 0.9796 GB, free: 179.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/1.289, allocations: 375.5 kB / 0.98 GB, free: 178.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/1.289, allocations: 33.38 kB / 0.98 GB, free: 178.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/1.289, allocations: 40.38 kB / 0.9801 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/1.29, allocations: 451.5 kB / 0.9805 GB, free: 178.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/1.29, allocations: 3.938 kB / 0.9805 GB, free: 178.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/1.29, allocations: 23.92 kB / 0.9805 GB, free: 178.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/1.29, allocations: 8 kB / 0.9805 GB, free: 178.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/1.29, allocations: 415.7 kB / 0.9809 GB, free: 177.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/1.293, allocations: 2.038 MB / 0.9829 GB, free: 175.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/1.293, allocations: 489.1 kB / 0.9834 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/1.294, allocations: 206.8 kB / 0.9836 GB, free: 175 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/1.294, allocations: 437.5 kB / 0.984 GB, free: 174.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/1.294, allocations: 38.5 kB / 0.984 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.374e-06/1.294, allocations: 0 / 0.984 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.00502/1.299, allocations: 1.587 MB / 0.9856 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/1.299, allocations: 85.11 kB / 0.9857 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/1.299, allocations: 321.6 kB / 0.986 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.299, allocations: 33.7 kB / 0.986 GB, free: 172.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/1.299, allocations: 232.4 kB / 0.9862 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/1.299, allocations: 149.8 kB / 0.9864 GB, free: 172 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.3, allocations: 12 kB / 0.9864 GB, free: 172 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/1.3, allocations: 350.8 kB / 0.9867 GB, free: 171.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/1.3, allocations: 148.8 kB / 0.9869 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/1.3, allocations: 197 kB / 0.987 GB, free: 171.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/1.3, allocations: 366.9 kB / 0.9874 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.3, allocations: 0 / 0.9874 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002207/1.303, allocations: 0.8093 MB / 0.9882 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.303, allocations: 4 kB / 0.9882 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.303, allocations: 4 kB / 0.9882 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.305, allocations: 481.2 kB / 0.9887 GB, free: 169.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/1.305, allocations: 71.91 kB / 0.9887 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.306, allocations: 2.087 MB / 0.9908 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.306, allocations: 39.61 kB / 0.9908 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/1.306, allocations: 16 kB / 0.9908 GB, free: 167.2 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.0001889/1.307, allocations: 165.8 kB / 0.991 GB, free: 167 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/1.307, allocations: 47.44 kB / 0.991 GB, free: 167 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/1.309, allocations: 0.8383 MB / 0.9918 GB, free: 166.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.309, allocations: 8 kB / 0.9918 GB, free: 166.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.309, allocations: 0 / 0.9918 GB, free: 166.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.309, allocations: 7.984 kB / 0.9919 GB, free: 166.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/1.312, allocations: 1.39 MB / 0.9932 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.312, allocations: 0 / 0.9932 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/1.312, allocations: 63.89 kB / 0.9933 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/1.314, allocations: 481.2 kB / 0.9937 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/1.314, allocations: 15.98 kB / 0.9937 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/1.315, allocations: 2.082 MB / 0.9958 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.315, allocations: 3.938 kB / 0.9958 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/1.318, allocations: 1.173 MB / 0.9969 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/1.318, allocations: 112.6 kB / 0.997 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/1.318, allocations: 23.88 kB / 0.9971 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/1.318, allocations: 31.89 kB / 0.9971 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.319, allocations: 27.95 kB / 0.9971 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.319, allocations: 19.98 kB / 0.9971 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000192/1.319, allocations: 227.1 kB / 0.9974 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/1.319, allocations: 0 / 0.9974 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006493/1.319, allocations: 203.7 kB / 0.9975 GB, free: 160 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.0004816/1.32, allocations: 406.8 kB / 0.9979 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008251/1.321, allocations: 0.5392 MB / 0.9985 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.321, allocations: 0 / 0.9985 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/1.321, allocations: 383.9 kB / 0.9988 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/1.322, allocations: 112.3 kB / 0.9989 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.323, allocations: 1.239 MB / 1 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/1.324, allocations: 0.8359 MB / 1.001 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002133/1.324, allocations: 59.02 kB / 1.001 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/1.324, allocations: 35.44 kB / 1.001 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/1.324, allocations: 0 / 1.001 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.01524/1.339, allocations: 10.33 MB / 1.011 GB, free: 146.1 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