Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001771/0.001771, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001868/0.001868, allocations: 214 kB / 22.24 MB, free: 5.262 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8358/0.8358, allocations: 100.9 MB / 413.3 MB, free: 2.875 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_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.002541/0.002541, allocations: 88.97 kB / 0.5641 GB, free: 35.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1505, allocations: 74.61 MB / 0.6369 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01988/0.1704, allocations: 16.14 MB / 0.6527 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008522/0.1789, allocations: 6.206 MB / 0.6588 GB, free: 60 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.1796, allocations: 35.69 kB / 0.6588 GB, free: 24 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.1805, allocations: 254.2 kB / 0.659 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.1822, allocations: 0.5435 MB / 0.6596 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.1832, allocations: 358.7 kB / 0.6599 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.1842, allocations: 0.8204 MB / 0.6607 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1844, allocations: 90.05 kB / 0.6608 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.1851, allocations: 366.5 kB / 0.6611 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1855, allocations: 282.4 kB / 0.6614 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.1855, allocations: 40 kB / 0.6615 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008836/0.1864, allocations: 327.7 kB / 0.6618 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1865, allocations: 111.4 kB / 0.6619 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.1868, allocations: 250.6 kB / 0.6621 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1881, allocations: 0.8248 MB / 0.6629 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1881, allocations: 4 kB / 0.6629 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1881, allocations: 0 / 0.6629 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1881, allocations: 0 / 0.6629 GB, free: 11.77 MB / 0.4981 GB 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.001681/0.1898, allocations: 0.9167 MB / 0.6638 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1899, allocations: 17.41 kB / 0.6638 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.19, allocations: 78.7 kB / 0.6639 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.1902, allocations: 84.45 kB / 0.664 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.1911, allocations: 462 kB / 0.6644 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1912, allocations: 29 kB / 0.6645 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.1912, allocations: 44 kB / 0.6645 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/0.192, allocations: 459.8 kB / 0.6649 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.192, allocations: 4 kB / 0.6649 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.192, allocations: 12 kB / 0.665 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1921, allocations: 12 kB / 0.665 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.1928, allocations: 415.7 kB / 0.6654 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.1952, allocations: 1.481 MB / 0.6668 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.196, allocations: 385.4 kB / 0.6672 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.1963, allocations: 168.1 kB / 0.6673 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.1973, allocations: 0.6049 MB / 0.6679 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1973, allocations: 38.89 kB / 0.668 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.814e-06/0.1973, allocations: 3.938 kB / 0.668 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005877/0.2032, allocations: 1.309 MB / 0.6692 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.2033, allocations: 85.05 kB / 0.6693 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/0.2039, allocations: 482.9 kB / 0.6698 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.204, allocations: 33.7 kB / 0.6698 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.2042, allocations: 292.7 kB / 0.6701 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2043, allocations: 146.7 kB / 0.6702 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2045, allocations: 82.09 kB / 0.6703 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.2047, allocations: 366.8 kB / 0.6707 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.2049, allocations: 132.8 kB / 0.6708 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.2052, allocations: 186.3 kB / 0.671 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.2058, allocations: 341.8 kB / 0.6713 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2058, allocations: 0 / 0.6713 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002778/0.2085, allocations: 0.799 MB / 0.6721 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2086, allocations: 8 kB / 0.6721 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2086, allocations: 0 / 0.6721 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002668/0.2112, allocations: 497.2 kB / 0.6726 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.2115, allocations: 67.91 kB / 0.6726 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.2135, allocations: 2.094 MB / 0.6747 GB, free: 15.28 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.2138, allocations: 39.66 kB / 0.6747 GB, free: 15.24 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.2138, allocations: 16 kB / 0.6747 GB, free: 15.22 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002633/0.2141, allocations: 169.9 kB / 0.6749 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2142, allocations: 63.56 kB / 0.6749 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.2171, allocations: 0.851 MB / 0.6758 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2171, allocations: 4 kB / 0.6758 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2171, allocations: 4 kB / 0.6758 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2171, allocations: 0 / 0.6758 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.2205, allocations: 1.277 MB / 0.677 GB, free: 12.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2205, allocations: 0 / 0.677 GB, free: 12.76 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.2208, allocations: 55.97 kB / 0.6771 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/0.2234, allocations: 489.2 kB / 0.6776 GB, free: 12.22 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.2234, allocations: 12 kB / 0.6776 GB, free: 12.21 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.2254, allocations: 2.102 MB / 0.6796 GB, free: 9.965 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2254, allocations: 3.938 kB / 0.6796 GB, free: 9.961 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.2285, allocations: 1.091 MB / 0.6807 GB, free: 8.84 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2287, allocations: 95.41 kB / 0.6808 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.2288, allocations: 11.98 kB / 0.6808 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.229, allocations: 8.062 kB / 0.6808 GB, free: 8.727 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.2291, allocations: 35.7 kB / 0.6808 GB, free: 8.691 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.2291, allocations: 11.98 kB / 0.6808 GB, free: 8.68 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0004588/0.2296, allocations: 350.8 kB / 0.6812 GB, free: 8.34 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.2296, allocations: 0 / 0.6812 GB, free: 8.34 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0006703/0.2303, allocations: 183.6 kB / 0.6813 GB, free: 8.16 MB / 0.5138 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 (26): * Single equations (assignments): 24 * 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.003845/0.2341, allocations: 1.809 MB / 0.6831 GB, free: 6.312 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.2351, allocations: 455 kB / 0.6836 GB, free: 5.855 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2351, allocations: 384 / 0.6836 GB, free: 5.855 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.2356, allocations: 302.2 kB / 0.6838 GB, free: 5.547 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/0.2366, allocations: 157.3 kB / 0.684 GB, free: 5.398 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.2471, allocations: 5.176 MB / 0.689 GB, free: 76 kB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2474, allocations: 263.5 kB / 0.6893 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002922/0.2477, allocations: 79.08 kB / 0.6894 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.248, allocations: 215.3 kB / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/0.248, allocations: 0 / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.3011, allocations: 16.87 MB / 0.706 GB, free: 14.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.23, allocations: 3.984 kB / 0.7061 GB, free: 14.91 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.09859713120386]