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.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.001675/0.001675, 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.002238/0.002238, allocations: 219.2 kB / 22.26 MB, free: 5.082 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.031 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.7563/0.7563, allocations: 94.58 MB / 407 MB, free: 9.191 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_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"}) [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.002469/0.002469, allocations: 88.88 kB / 0.555 GB, free: 38.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1163, allocations: 73.06 MB / 0.6263 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02812/0.1445, allocations: 23.35 MB / 0.6491 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.1565, allocations: 9.567 MB / 0.6584 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008775/0.1574, allocations: 39.62 kB / 0.6585 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1585, allocations: 421.1 kB / 0.6589 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.1607, allocations: 0.8112 MB / 0.6597 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.162, allocations: 486.3 kB / 0.6601 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1635, allocations: 1.166 MB / 0.6613 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.1639, allocations: 148 kB / 0.6614 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.1649, allocations: 0.5095 MB / 0.6619 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.1655, allocations: 445.8 kB / 0.6623 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1656, allocations: 60 kB / 0.6624 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1672, allocations: 0.5151 MB / 0.6629 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1674, allocations: 163.2 kB / 0.6631 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.1679, allocations: 433.5 kB / 0.6635 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1701, allocations: 1.21 MB / 0.6647 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1701, allocations: 0 / 0.6647 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1701, allocations: 4 kB / 0.6647 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.1701, allocations: 4 kB / 0.6647 GB, free: 9.043 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002419/0.1725, allocations: 1.216 MB / 0.6659 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1726, allocations: 8.031 kB / 0.6659 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.1727, allocations: 110.6 kB / 0.666 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.173, allocations: 108.3 kB / 0.6661 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1742, allocations: 0.5878 MB / 0.6666 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.1742, allocations: 45.31 kB / 0.6667 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1743, allocations: 60 kB / 0.6667 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1755, allocations: 0.6808 MB / 0.6674 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.1755, allocations: 0 / 0.6674 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.1756, allocations: 28 kB / 0.6674 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1756, allocations: 16 kB / 0.6675 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.1767, allocations: 0.6453 MB / 0.6681 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.1809, allocations: 2.976 MB / 0.671 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1821, allocations: 0.6291 MB / 0.6716 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.1825, allocations: 255.6 kB / 0.6718 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.1845, allocations: 1.056 MB / 0.6729 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1845, allocations: 39.22 kB / 0.6729 GB, free: 208 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.1845, allocations: 0 / 0.6729 GB, free: 208 kB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0105/0.195, allocations: 2.213 MB / 0.6751 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.1951, allocations: 105.6 kB / 0.6752 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.1959, allocations: 0.5904 MB / 0.6758 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.196, allocations: 33.7 kB / 0.6758 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.1963, allocations: 388.9 kB / 0.6762 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.1965, allocations: 238 kB / 0.6764 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.1967, allocations: 114.3 kB / 0.6765 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.1969, allocations: 334 kB / 0.6768 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.1974, allocations: 213.2 kB / 0.677 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.1979, allocations: 302.8 kB / 0.6773 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.1988, allocations: 0.5358 MB / 0.6778 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1988, allocations: 4 kB / 0.6778 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005318/0.2041, allocations: 1.389 MB / 0.6792 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2041, allocations: 4 kB / 0.6792 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.2042, allocations: 4 kB / 0.6792 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/0.2096, allocations: 0.9352 MB / 0.6801 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.21, allocations: 107.8 kB / 0.6802 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.2128, allocations: 2.838 MB / 0.683 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.2133, allocations: 59.59 kB / 0.683 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.2134, allocations: 28 kB / 0.6831 GB, free: 5.492 MB / 0.5137 GB 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.0003491/0.2137, allocations: 211.1 kB / 0.6833 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.2139, allocations: 79.48 kB / 0.6833 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/0.2194, allocations: 1.488 MB / 0.6848 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.2194, allocations: 15.92 kB / 0.6848 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2194, allocations: 8 kB / 0.6848 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.2194, allocations: 3.984 kB / 0.6848 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/0.2258, allocations: 2.119 MB / 0.6869 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2258, allocations: 0 / 0.6869 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.2261, allocations: 79.97 kB / 0.687 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005176/0.2313, allocations: 0.939 MB / 0.6879 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.2314, allocations: 19.98 kB / 0.6879 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.2341, allocations: 2.853 MB / 0.6907 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2341, allocations: 4 kB / 0.6907 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/0.24, allocations: 1.779 MB / 0.6924 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.2403, allocations: 131.2 kB / 0.6926 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.2404, allocations: 16 kB / 0.6926 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.2408, allocations: 15.98 kB / 0.6926 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2409, allocations: 44.52 kB / 0.6926 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.2409, allocations: 23.98 kB / 0.6926 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005551/0.2415, allocations: 431 kB / 0.6931 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2415, allocations: 0 / 0.6931 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008768/0.2424, allocations: 303.3 kB / 0.6934 GB, free: 10.66 MB / 0.5294 GB 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.006672/0.249, allocations: 2.61 MB / 0.6959 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.2504, allocations: 0.6681 MB / 0.6966 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2505, allocations: 0 / 0.6966 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007913/0.2512, allocations: 426.8 kB / 0.697 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.2525, allocations: 222 kB / 0.6972 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.2704, allocations: 7.299 MB / 0.7043 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.2711, allocations: 0.9541 MB / 0.7052 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005367/0.2716, allocations: 110.5 kB / 0.7053 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.2721, allocations: 311.3 kB / 0.7056 GB, free: 13.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.735e-06/0.2721, allocations: 0 / 0.7056 GB, free: 13.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06448/0.3366, allocations: 24.55 MB / 0.7296 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/17.15, allocations: 17.53 kB / 0.7296 GB, free: 5.52 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_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_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv","/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) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.86500217700086]