Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 216.6 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7386/0.7386, allocations: 94.56 MB / 407 MB, free: 9.195 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 88.95 kB / 0.555 GB, free: 38.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1275, allocations: 73.06 MB / 0.6263 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02177/0.1492, allocations: 17.71 MB / 0.6436 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009024/0.1583, allocations: 6.868 MB / 0.6503 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006361/0.1589, allocations: 35.69 kB / 0.6503 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.1597, allocations: 282.1 kB / 0.6506 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.1614, allocations: 0.559 MB / 0.6512 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.1624, allocations: 370.7 kB / 0.6515 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.1635, allocations: 0.8087 MB / 0.6523 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1638, allocations: 102.1 kB / 0.6524 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.1645, allocations: 366.4 kB / 0.6527 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.1649, allocations: 298.5 kB / 0.653 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.1649, allocations: 40 kB / 0.6531 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1659, allocations: 379.5 kB / 0.6534 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1661, allocations: 111.5 kB / 0.6535 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.1664, allocations: 294.2 kB / 0.6538 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1678, allocations: 0.8481 MB / 0.6546 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1678, allocations: 4 kB / 0.6546 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1678, allocations: 0 / 0.6546 GB, free: 3.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1679, allocations: 3.938 kB / 0.6547 GB, free: 3.32 MB / 494.1 MB 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.00169/0.1696, allocations: 0.9091 MB / 0.6555 GB, free: 2.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1696, allocations: 8.031 kB / 0.6555 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.864e-05/0.1697, allocations: 82.7 kB / 0.6556 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1699, allocations: 80.47 kB / 0.6557 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.1708, allocations: 461.9 kB / 0.6561 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.1708, allocations: 33 kB / 0.6562 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.1709, allocations: 43.94 kB / 0.6562 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/0.1717, allocations: 471.8 kB / 0.6567 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1717, allocations: 0 / 0.6567 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1717, allocations: 20 kB / 0.6567 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1717, allocations: 8 kB / 0.6567 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.1725, allocations: 423.7 kB / 0.6571 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.1753, allocations: 2.03 MB / 0.6591 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.176, allocations: 372.1 kB / 0.6594 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.1763, allocations: 166.3 kB / 0.6596 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.1776, allocations: 0.7921 MB / 0.6604 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1777, allocations: 38.89 kB / 0.6604 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.1777, allocations: 0 / 0.6604 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006066/0.1837, allocations: 1.309 MB / 0.6617 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1838, allocations: 89.05 kB / 0.6618 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.1844, allocations: 478.9 kB / 0.6622 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.1845, allocations: 33.7 kB / 0.6623 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1847, allocations: 292.7 kB / 0.6625 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1848, allocations: 142.8 kB / 0.6627 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.185, allocations: 78.12 kB / 0.6627 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1851, allocations: 366.8 kB / 0.6631 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1854, allocations: 124.8 kB / 0.6632 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.1857, allocations: 189.8 kB / 0.6634 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.1863, allocations: 339 kB / 0.6637 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1863, allocations: 0 / 0.6637 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003045/0.1894, allocations: 0.8029 MB / 0.6645 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.1894, allocations: 12.03 kB / 0.6645 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1894, allocations: 0 / 0.6645 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.1922, allocations: 489.2 kB / 0.665 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1925, allocations: 75.89 kB / 0.6651 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.1946, allocations: 2.097 MB / 0.6671 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.1949, allocations: 39.67 kB / 0.6671 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.195, allocations: 19.92 kB / 0.6672 GB, free: 5.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.1952, allocations: 173.7 kB / 0.6673 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.1954, allocations: 59.69 kB / 0.6674 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.1984, allocations: 0.8661 MB / 0.6682 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1984, allocations: 4 kB / 0.6682 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1984, allocations: 4.141 kB / 0.6682 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1984, allocations: 7.969 kB / 0.6682 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.2019, allocations: 1.343 MB / 0.6696 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2019, allocations: 0 / 0.6696 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.2022, allocations: 51.91 kB / 0.6696 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.2046, allocations: 0.4895 MB / 0.6701 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.2047, allocations: 15.98 kB / 0.6701 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.2066, allocations: 2.093 MB / 0.6721 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2066, allocations: 3.984 kB / 0.6721 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.2097, allocations: 1.111 MB / 0.6732 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.2099, allocations: 95.47 kB / 0.6733 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.21, allocations: 11.95 kB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2102, allocations: 20.05 kB / 0.6734 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.2103, allocations: 31.89 kB / 0.6734 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.2103, allocations: 23.86 kB / 0.6734 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004782/0.2108, allocations: 338.9 kB / 0.6737 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2108, allocations: 0 / 0.6737 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006575/0.2115, allocations: 191.6 kB / 0.6739 GB, free: 14.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003854/0.2153, allocations: 1.83 MB / 0.6757 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009628/0.2163, allocations: 461.6 kB / 0.6761 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2163, allocations: 0 / 0.6761 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.2168, allocations: 302.8 kB / 0.6764 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.2177, allocations: 160.7 kB / 0.6766 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.2284, allocations: 5.188 MB / 0.6816 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.229, allocations: 0.8705 MB / 0.6825 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003207/0.2293, allocations: 76.91 kB / 0.6826 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.2296, allocations: 207.4 kB / 0.6828 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.2296, allocations: 4 kB / 0.6828 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/0.2857, allocations: 16.93 MB / 0.6993 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.3, allocations: 8.062 kB / 0.6993 GB, free: 4.734 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv --start-time 0 --stop-time 1000 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.946986741000728]