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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009634/0.0009635, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7433/0.7433, allocations: 89.61 MB / 380.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 10.25 kB / 459.9 MB, free: 24.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.156, allocations: 68.83 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0204/0.1765, allocations: 19.21 MB / 0.5351 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009579/0.1861, allocations: 7.809 MB / 0.5427 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009048/0.1871, allocations: 19.94 kB / 0.5427 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.1881, allocations: 330.3 kB / 0.543 GB, free: 348 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.1906, allocations: 0.7126 MB / 0.5437 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1918, allocations: 395 kB / 0.5441 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1931, allocations: 0.7093 MB / 0.5448 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.1934, allocations: 176.6 kB / 0.545 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.194, allocations: 330.7 kB / 0.5453 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1944, allocations: 330.5 kB / 0.5456 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.1944, allocations: 28 kB / 0.5456 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.196, allocations: 0.4917 MB / 0.5461 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1961, allocations: 115.5 kB / 0.5462 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.1963, allocations: 165.3 kB / 0.5464 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.1972, allocations: 0.7249 MB / 0.5471 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1972, allocations: 0 / 0.5471 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1972, allocations: 0 / 0.5471 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1972, allocations: 0 / 0.5471 GB, free: 12.17 MB / 430.1 MB 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.001915/0.1992, allocations: 1.024 MB / 0.5481 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.1992, allocations: 8.031 kB / 0.5481 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.1995, allocations: 102.9 kB / 0.5482 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.2002, allocations: 452.5 kB / 0.5486 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.2003, allocations: 45.31 kB / 0.5487 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2004, allocations: 63.98 kB / 0.5487 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2014, allocations: 0.6575 MB / 0.5494 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.2015, allocations: 0 / 0.5494 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.2015, allocations: 31.95 kB / 0.5494 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2015, allocations: 16 kB / 0.5494 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009501/0.2025, allocations: 0.6258 MB / 0.55 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.2062, allocations: 3.023 MB / 0.553 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2073, allocations: 0.6655 MB / 0.5536 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/0.2097, allocations: 1.94 MB / 0.5555 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.2097, allocations: 47.12 kB / 0.5556 GB, free: 2.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.2098, allocations: 0 / 0.5556 GB, free: 2.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.009304/0.2191, allocations: 2.406 MB / 0.5579 GB, free: 388 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.2192, allocations: 89.64 kB / 0.558 GB, free: 280 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.2198, allocations: 478.8 kB / 0.5585 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.2198, allocations: 33.7 kB / 0.5585 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.2201, allocations: 324.4 kB / 0.5588 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.2202, allocations: 232.6 kB / 0.559 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.2203, allocations: 16 kB / 0.559 GB, free: 15.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2204, allocations: 374.7 kB / 0.5594 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2208, allocations: 205.2 kB / 0.5596 GB, free: 14.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.2212, allocations: 294.8 kB / 0.5599 GB, free: 14.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.2216, allocations: 243.1 kB / 0.5601 GB, free: 14.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2216, allocations: 0 / 0.5601 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004626/0.2262, allocations: 1.361 MB / 0.5614 GB, free: 12.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2263, allocations: 4 kB / 0.5614 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2263, allocations: 4 kB / 0.5614 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004817/0.2311, allocations: 0.9274 MB / 0.5624 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.2315, allocations: 95.89 kB / 0.5624 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.2339, allocations: 2.842 MB / 0.5652 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.2345, allocations: 71.52 kB / 0.5653 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.2345, allocations: 27.97 kB / 0.5653 GB, free: 8.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002937/0.2348, allocations: 193.7 kB / 0.5655 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.235, allocations: 67.11 kB / 0.5656 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/0.24, allocations: 1.475 MB / 0.567 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.2401, allocations: 8 kB / 0.567 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2401, allocations: 7.984 kB / 0.567 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2401, allocations: 0 / 0.567 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.2463, allocations: 2.12 MB / 0.5691 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2463, allocations: 0 / 0.5691 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.2466, allocations: 79.89 kB / 0.5692 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004723/0.2514, allocations: 0.9235 MB / 0.5701 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.2515, allocations: 19.98 kB / 0.5701 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.2538, allocations: 2.842 MB / 0.5729 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2538, allocations: 0 / 0.5729 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/0.2591, allocations: 1.784 MB / 0.5746 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.2595, allocations: 212.1 kB / 0.5748 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.2595, allocations: 19.94 kB / 0.5748 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.2599, allocations: 31.92 kB / 0.5749 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.26, allocations: 48.5 kB / 0.5749 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.2601, allocations: 16 kB / 0.5749 GB, free: 14.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004224/0.2605, allocations: 338.8 kB / 0.5752 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2606, allocations: 0 / 0.5752 GB, free: 13.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009414/0.2615, allocations: 295.4 kB / 0.5755 GB, free: 13.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005312/0.262, allocations: 400.6 kB / 0.5759 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2633, allocations: 0.6866 MB / 0.5766 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2634, allocations: 0 / 0.5766 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006952/0.2641, allocations: 449.6 kB / 0.577 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.265, allocations: 186.1 kB / 0.5772 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.2675, allocations: 1.745 MB / 0.5789 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.2681, allocations: 0.9263 MB / 0.5798 GB, free: 9.238 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.2685, allocations: 103.4 kB / 0.5799 GB, free: 9.148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2686, allocations: 51.42 kB / 0.5799 GB, free: 9.098 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2686, allocations: 0 / 0.5799 GB, free: 9.098 MB / 462.1 MB Notification: Performance of Templates: time 0.2753/0.5439, allocations: 14.27 MB / 0.5939 GB, free: 72.28 MB / 462.1 MB 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