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.0007736/0.0007737, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008534/0.0008536, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.315/1.315, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6425/0.6425, allocations: 89.63 MB / 381.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 13.94 kB / 461.3 MB, free: 24.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 68.83 MB / 0.5177 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02399/0.1378, allocations: 22.27 MB / 0.5395 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.1483, allocations: 9.29 MB / 0.5485 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.1491, allocations: 19.94 kB / 0.5485 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1501, allocations: 346.1 kB / 0.5489 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.1522, allocations: 0.6835 MB / 0.5495 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1533, allocations: 418.7 kB / 0.5499 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1548, allocations: 1.171 MB / 0.5511 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.1552, allocations: 198.1 kB / 0.5513 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.1559, allocations: 366.3 kB / 0.5516 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.1565, allocations: 382.1 kB / 0.552 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.1566, allocations: 28 kB / 0.552 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.158, allocations: 483.5 kB / 0.5525 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1581, allocations: 119.3 kB / 0.5526 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.1586, allocations: 391.6 kB / 0.553 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1596, allocations: 0.7598 MB / 0.5537 GB, free: 6.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1597, allocations: 0 / 0.5537 GB, free: 6.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1597, allocations: 4 kB / 0.5537 GB, free: 6.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.1597, allocations: 0 / 0.5537 GB, free: 6.359 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.001962/0.1617, allocations: 1.009 MB / 0.5547 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1617, allocations: 8.031 kB / 0.5547 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.162, allocations: 103.8 kB / 0.5548 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.1627, allocations: 473.4 kB / 0.5552 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.1627, allocations: 45.69 kB / 0.5553 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/0.1628, allocations: 68.36 kB / 0.5554 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1639, allocations: 0.6732 MB / 0.556 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.164, allocations: 11.94 kB / 0.556 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.164, allocations: 24 kB / 0.556 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.164, allocations: 16 kB / 0.5561 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.165, allocations: 0.6258 MB / 0.5567 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/0.17, allocations: 2.98 MB / 0.5596 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.1718, allocations: 0.6733 MB / 0.5602 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.1725, allocations: 287.9 kB / 0.5605 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003241/0.1758, allocations: 1.901 MB / 0.5624 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.1759, allocations: 47.06 kB / 0.5624 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.788e-06/0.1759, allocations: 0 / 0.5624 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01513/0.191, allocations: 2.42 MB / 0.5648 GB, free: 10.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.1911, allocations: 81.67 kB / 0.5649 GB, free: 10.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.1921, allocations: 482.9 kB / 0.5653 GB, free: 9.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.1922, allocations: 37.7 kB / 0.5654 GB, free: 9.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.1925, allocations: 336.3 kB / 0.5657 GB, free: 9.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.1928, allocations: 224.6 kB / 0.5659 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.193, allocations: 61.69 kB / 0.5659 GB, free: 9.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1932, allocations: 374.6 kB / 0.5663 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.1938, allocations: 209.2 kB / 0.5665 GB, free: 8.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.1945, allocations: 298.8 kB / 0.5668 GB, free: 8.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.1958, allocations: 0.5315 MB / 0.5673 GB, free: 7.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.1958, allocations: 4 kB / 0.5673 GB, free: 7.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.007694/0.2035, allocations: 1.365 MB / 0.5686 GB, free: 6.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.2036, allocations: 8 kB / 0.5687 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2036, allocations: 0 / 0.5687 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00757/0.2112, allocations: 0.9313 MB / 0.5696 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.2119, allocations: 103.8 kB / 0.5697 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/0.2155, allocations: 2.826 MB / 0.5724 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.2163, allocations: 71.58 kB / 0.5725 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.2164, allocations: 27.98 kB / 0.5725 GB, free: 2.07 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 (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.0004352/0.2169, allocations: 193.6 kB / 0.5727 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.2171, allocations: 67.16 kB / 0.5728 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/0.2235, allocations: 1.478 MB / 0.5742 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.2236, allocations: 8 kB / 0.5742 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2236, allocations: 0 / 0.5742 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.2236, allocations: 3.984 kB / 0.5742 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/0.2299, allocations: 2.101 MB / 0.5763 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2299, allocations: 4.062 kB / 0.5763 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.2302, allocations: 79.89 kB / 0.5764 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005107/0.2354, allocations: 0.9311 MB / 0.5773 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.866e-05/0.2355, allocations: 15.98 kB / 0.5773 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.2378, allocations: 2.838 MB / 0.5801 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2379, allocations: 0 / 0.5801 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.2434, allocations: 1.756 MB / 0.5818 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.2437, allocations: 200.1 kB / 0.582 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.2439, allocations: 12 kB / 0.582 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.2443, allocations: 35.89 kB / 0.582 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2444, allocations: 44.5 kB / 0.582 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.2444, allocations: 19.98 kB / 0.5821 GB, free: 7.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004159/0.2449, allocations: 342.8 kB / 0.5824 GB, free: 7.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2449, allocations: 0 / 0.5824 GB, free: 7.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008854/0.2458, allocations: 295.4 kB / 0.5827 GB, free: 7.328 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.000593/0.2464, allocations: 400.8 kB / 0.5831 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.2477, allocations: 0.6903 MB / 0.5837 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2477, allocations: 0 / 0.5837 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007541/0.2485, allocations: 446.2 kB / 0.5842 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.2498, allocations: 199.9 kB / 0.5843 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.2524, allocations: 1.802 MB / 0.5861 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.2529, allocations: 0.9108 MB / 0.587 GB, free: 2.805 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.2531, allocations: 59.42 kB / 0.587 GB, free: 2.746 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2531, allocations: 0 / 0.587 GB, free: 2.746 MB / 462.1 MB Notification: Performance of Templates: time 0.2405/0.4936, allocations: 19.69 MB / 0.6063 GB, free: 67.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches