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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001228/0.001228, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6314/0.6314, allocations: 91.2 MB / 381.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 76.2 kB / 459.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 67.7 MB / 0.5152 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02131/0.1289, allocations: 23.27 MB / 0.538 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008893/0.1378, allocations: 9.473 MB / 0.5472 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.1386, allocations: 35.75 kB / 0.5473 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.1397, allocations: 362 kB / 0.5476 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.1419, allocations: 0.7107 MB / 0.5483 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1431, allocations: 446.6 kB / 0.5487 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.1448, allocations: 1.131 MB / 0.5498 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1453, allocations: 235.6 kB / 0.5501 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009128/0.1462, allocations: 469.8 kB / 0.5505 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.1469, allocations: 441.8 kB / 0.5509 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.147, allocations: 56 kB / 0.551 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.1484, allocations: 0.5151 MB / 0.5515 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.1486, allocations: 155.3 kB / 0.5516 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.1491, allocations: 437.5 kB / 0.552 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.1513, allocations: 1.16 MB / 0.5532 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1513, allocations: 0 / 0.5532 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1513, allocations: 4 kB / 0.5532 GB, free: 3.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.1513, allocations: 0 / 0.5532 GB, free: 3.398 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.002225/0.1536, allocations: 1.258 MB / 0.5544 GB, free: 2.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1536, allocations: 8.031 kB / 0.5544 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.1537, allocations: 102.7 kB / 0.5545 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.154, allocations: 107.7 kB / 0.5546 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.1548, allocations: 0.6008 MB / 0.5552 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.1549, allocations: 45.31 kB / 0.5553 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.155, allocations: 63.91 kB / 0.5553 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.156, allocations: 0.673 MB / 0.556 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.156, allocations: 0 / 0.556 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.1561, allocations: 24 kB / 0.556 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1561, allocations: 16 kB / 0.556 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.1571, allocations: 0.6297 MB / 0.5566 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.1606, allocations: 3.007 MB / 0.5596 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1616, allocations: 0.6656 MB / 0.5602 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.1621, allocations: 291.3 kB / 0.5605 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/0.164, allocations: 1.908 MB / 0.5623 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.164, allocations: 43.12 kB / 0.5624 GB, free: 9.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.763e-06/0.164, allocations: 0 / 0.5624 GB, free: 9.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009959/0.174, allocations: 2.428 MB / 0.5648 GB, free: 6.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.174, allocations: 89.61 kB / 0.5648 GB, free: 6.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.1746, allocations: 0.5825 MB / 0.5654 GB, free: 6.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1747, allocations: 37.7 kB / 0.5655 GB, free: 6.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.1749, allocations: 380.3 kB / 0.5658 GB, free: 5.715 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.1751, allocations: 220.8 kB / 0.566 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.1752, allocations: 118.2 kB / 0.5661 GB, free: 5.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1754, allocations: 394.7 kB / 0.5665 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.1757, allocations: 205.2 kB / 0.5667 GB, free: 4.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.1761, allocations: 294.8 kB / 0.567 GB, free: 4.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.1769, allocations: 0.5315 MB / 0.5675 GB, free: 3.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1769, allocations: 0 / 0.5675 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004863/0.1817, allocations: 1.381 MB / 0.5689 GB, free: 2.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1818, allocations: 4 kB / 0.5689 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1818, allocations: 4 kB / 0.5689 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005026/0.1868, allocations: 0.9391 MB / 0.5698 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.1872, allocations: 99.89 kB / 0.5699 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.1893, allocations: 2.937 MB / 0.5727 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.1897, allocations: 67.52 kB / 0.5728 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.1898, allocations: 24 kB / 0.5728 GB, free: 14.24 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.0002471/0.19, allocations: 205.6 kB / 0.573 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1902, allocations: 86.97 kB / 0.5731 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/0.1953, allocations: 1.478 MB / 0.5746 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.1954, allocations: 11.94 kB / 0.5746 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1954, allocations: 3.984 kB / 0.5746 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1954, allocations: 3.938 kB / 0.5746 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/0.2013, allocations: 2.14 MB / 0.5767 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2013, allocations: 8.062 kB / 0.5767 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2016, allocations: 72.09 kB / 0.5767 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/0.2064, allocations: 0.9429 MB / 0.5777 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.2064, allocations: 23.98 kB / 0.5777 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.2085, allocations: 2.941 MB / 0.5806 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2085, allocations: 0 / 0.5806 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/0.2138, allocations: 1.763 MB / 0.5823 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.2141, allocations: 204 kB / 0.5825 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/0.2142, allocations: 19.84 kB / 0.5825 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.2146, allocations: 27.98 kB / 0.5825 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.2147, allocations: 44.61 kB / 0.5826 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.2148, allocations: 32 kB / 0.5826 GB, free: 3.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004523/0.2152, allocations: 423 kB / 0.583 GB, free: 3.477 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2152, allocations: 0 / 0.583 GB, free: 3.477 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007925/0.216, allocations: 291.5 kB / 0.5833 GB, free: 3.191 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.00585/0.2219, allocations: 2.603 MB / 0.5858 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1734/0.3953, allocations: 0.7105 MB / 0.5865 GB, free: 73.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3953, allocations: 0 / 0.5865 GB, free: 73.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.3961, allocations: 444 kB / 0.5869 GB, free: 72.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.3973, allocations: 211.5 kB / 0.5871 GB, free: 72.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.4131, allocations: 7.77 MB / 0.5947 GB, free: 69.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4135, allocations: 0.9519 MB / 0.5957 GB, free: 68.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.4139, allocations: 109.4 kB / 0.5958 GB, free: 68.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.4142, allocations: 303.9 kB / 0.596 GB, free: 68.67 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4142, allocations: 0 / 0.596 GB, free: 68.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.969/1.383, allocations: 23.29 MB / 0.6188 GB, free: 59.78 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.384, allocations: 250.8 kB / 0.619 GB, free: 59.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.351/5.735, allocations: 4 kB / 0.619 GB, free: 59.52 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > 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