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 (/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.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6735/0.6735, allocations: 91.19 MB / 381.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 82.59 kB / 460.3 MB, free: 23.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 67.7 MB / 0.5156 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02203/0.1322, allocations: 22.83 MB / 0.5379 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009722/0.1419, allocations: 9.446 MB / 0.5471 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.1426, allocations: 31.81 kB / 0.5472 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009194/0.1436, allocations: 421.1 kB / 0.5476 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.1454, allocations: 0.784 MB / 0.5483 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1465, allocations: 478.3 kB / 0.5488 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1475, allocations: 1.131 MB / 0.5499 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.1479, allocations: 235.6 kB / 0.5501 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006136/0.1485, allocations: 462 kB / 0.5506 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.149, allocations: 441.8 kB / 0.551 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.1491, allocations: 60 kB / 0.551 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1503, allocations: 0.5034 MB / 0.5515 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.1505, allocations: 159.2 kB / 0.5517 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.1508, allocations: 429.6 kB / 0.5521 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1523, allocations: 1.172 MB / 0.5532 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1523, allocations: 4 kB / 0.5532 GB, free: 3.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1523, allocations: 0 / 0.5532 GB, free: 3.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.1524, allocations: 0 / 0.5532 GB, free: 3.559 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.001986/0.1543, allocations: 1.248 MB / 0.5545 GB, free: 2.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1544, allocations: 8.031 kB / 0.5545 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.1546, allocations: 103.7 kB / 0.5546 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.1554, allocations: 0.6087 MB / 0.5552 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.1555, allocations: 45.31 kB / 0.5552 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.1556, allocations: 63.91 kB / 0.5553 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1566, allocations: 0.673 MB / 0.5559 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1566, allocations: 0 / 0.5559 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.1567, allocations: 24 kB / 0.5559 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1567, allocations: 16 kB / 0.556 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.1577, allocations: 0.6258 MB / 0.5566 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.1611, allocations: 3.019 MB / 0.5595 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1621, allocations: 0.6655 MB / 0.5602 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.1626, allocations: 287.3 kB / 0.5604 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.1646, allocations: 1.912 MB / 0.5623 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1646, allocations: 43.06 kB / 0.5623 GB, free: 9.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.003e-06/0.1646, allocations: 4 kB / 0.5624 GB, free: 9.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009974/0.1746, allocations: 2.42 MB / 0.5647 GB, free: 7.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1747, allocations: 81.67 kB / 0.5648 GB, free: 7.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.1754, allocations: 0.5903 MB / 0.5654 GB, free: 6.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.1754, allocations: 37.73 kB / 0.5654 GB, free: 6.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.1757, allocations: 380.3 kB / 0.5658 GB, free: 5.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1758, allocations: 228.7 kB / 0.566 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.176, allocations: 114.2 kB / 0.5661 GB, free: 5.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1762, allocations: 390.7 kB / 0.5665 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.1765, allocations: 201.2 kB / 0.5667 GB, free: 5.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.177, allocations: 306.8 kB / 0.567 GB, free: 4.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008071/0.1778, allocations: 0.5315 MB / 0.5675 GB, free: 4.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1778, allocations: 3.938 kB / 0.5675 GB, free: 4.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004981/0.1828, allocations: 1.381 MB / 0.5688 GB, free: 2.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1828, allocations: 4 kB / 0.5688 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1828, allocations: 4 kB / 0.5688 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005143/0.188, allocations: 0.9313 MB / 0.5697 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.1884, allocations: 99.89 kB / 0.5698 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.1911, allocations: 2.944 MB / 0.5727 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.1916, allocations: 55.42 kB / 0.5728 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.1916, allocations: 24 kB / 0.5728 GB, free: 14.51 MB / 462.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003428/0.192, allocations: 209.6 kB / 0.573 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1921, allocations: 78.97 kB / 0.5731 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/0.1974, allocations: 1.477 MB / 0.5745 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1974, allocations: 8 kB / 0.5745 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1975, allocations: 11.88 kB / 0.5745 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.1975, allocations: 7.969 kB / 0.5745 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/0.2036, allocations: 2.132 MB / 0.5766 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2036, allocations: 8.047 kB / 0.5766 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.2039, allocations: 76.09 kB / 0.5767 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005181/0.2091, allocations: 0.9428 MB / 0.5776 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.2092, allocations: 16 kB / 0.5776 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.2118, allocations: 2.948 MB / 0.5805 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2118, allocations: 0 / 0.5805 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.2173, allocations: 1.763 MB / 0.5822 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.2177, allocations: 208 kB / 0.5824 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.2178, allocations: 15.94 kB / 0.5824 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.2181, allocations: 15.94 kB / 0.5825 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2182, allocations: 44.69 kB / 0.5825 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.2183, allocations: 27.98 kB / 0.5825 GB, free: 4.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.2188, allocations: 419 kB / 0.5829 GB, free: 3.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2188, allocations: 0 / 0.5829 GB, free: 3.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000852/0.2197, allocations: 295.5 kB / 0.5832 GB, free: 3.484 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.2203, allocations: 393.9 kB / 0.5836 GB, free: 3.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.2217, allocations: 0.7135 MB / 0.5843 GB, free: 2.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2217, allocations: 0 / 0.5843 GB, free: 2.367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.2225, allocations: 446.3 kB / 0.5847 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2237, allocations: 223.6 kB / 0.5849 GB, free: 1.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.2261, allocations: 1.536 MB / 0.5864 GB, free: 132 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2086/0.4348, allocations: 0.9456 MB / 0.5873 GB, free: 71.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.4353, allocations: 107.4 kB / 0.5874 GB, free: 71.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4355, allocations: 58.5 kB / 0.5875 GB, free: 71.58 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4355, allocations: 2.031 kB / 0.5875 GB, free: 71.58 MB / 462.1 MB Notification: Performance of Templates: time 0.02572/0.4612, allocations: 15.76 MB / 0.6029 GB, free: 67.38 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches