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.001858/0.001858, allocations: 109.4 kB / 16.46 MB, free: 6.453 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.002025/0.002025, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.7457/0.7457, allocations: 100.3 MB / 409.1 MB, free: 4.777 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.002473/0.002473, allocations: 88.45 kB / 0.5582 GB, free: 36.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1277, allocations: 74.43 MB / 0.6309 GB, free: 9.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02032/0.148, allocations: 17.54 MB / 0.648 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008242/0.1562, allocations: 6.801 MB / 0.6546 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.1569, allocations: 35.69 kB / 0.6547 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007795/0.1577, allocations: 290 kB / 0.6549 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.1593, allocations: 0.5512 MB / 0.6555 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.1601, allocations: 358.7 kB / 0.6558 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1612, allocations: 0.8088 MB / 0.6566 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1614, allocations: 97.75 kB / 0.6567 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.162, allocations: 374.3 kB / 0.6571 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.1624, allocations: 302.5 kB / 0.6574 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.1625, allocations: 43.94 kB / 0.6574 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009284/0.1634, allocations: 363.6 kB / 0.6577 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1635, allocations: 107.5 kB / 0.6578 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.1638, allocations: 306.2 kB / 0.6581 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.1651, allocations: 0.8365 MB / 0.659 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1651, allocations: 0 / 0.659 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1651, allocations: 0 / 0.659 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1652, allocations: 0 / 0.659 GB, free: 12.31 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.00169/0.1668, allocations: 0.9921 MB / 0.6599 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1669, allocations: 8.031 kB / 0.6599 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.167, allocations: 86.7 kB / 0.66 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.1672, allocations: 76.47 kB / 0.6601 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.1681, allocations: 0.531 MB / 0.6606 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1681, allocations: 33 kB / 0.6606 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.1682, allocations: 36 kB / 0.6607 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.1689, allocations: 455.9 kB / 0.6611 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.169, allocations: 7.984 kB / 0.6611 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.169, allocations: 20 kB / 0.6611 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.169, allocations: 12 kB / 0.6611 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.1697, allocations: 411.7 kB / 0.6615 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.1725, allocations: 2.061 MB / 0.6636 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.1732, allocations: 385.2 kB / 0.6639 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.1735, allocations: 161.7 kB / 0.6641 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.1751, allocations: 1.4 MB / 0.6654 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1751, allocations: 50.81 kB / 0.6655 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.1751, allocations: 0 / 0.6655 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005848/0.181, allocations: 1.448 MB / 0.6669 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.181, allocations: 89.08 kB / 0.667 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.1816, allocations: 475 kB / 0.6674 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.1817, allocations: 33.7 kB / 0.6675 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1819, allocations: 292.7 kB / 0.6678 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.182, allocations: 146.7 kB / 0.6679 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1821, allocations: 74.12 kB / 0.668 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1823, allocations: 362.8 kB / 0.6683 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1826, allocations: 128.8 kB / 0.6684 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.1829, allocations: 185.8 kB / 0.6686 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.1834, allocations: 335.7 kB / 0.6689 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1834, allocations: 3.938 kB / 0.6689 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00273/0.1861, allocations: 0.7915 MB / 0.6697 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1862, allocations: 8 kB / 0.6697 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1862, allocations: 0 / 0.6697 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.1888, allocations: 497.2 kB / 0.6702 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1891, allocations: 63.91 kB / 0.6702 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.1911, allocations: 2.208 MB / 0.6724 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.1914, allocations: 47.67 kB / 0.6725 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.1915, allocations: 12 kB / 0.6725 GB, free: 13.64 MB / 0.5137 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.0002388/0.1917, allocations: 167.1 kB / 0.6726 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1918, allocations: 63.58 kB / 0.6727 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.1947, allocations: 0.8603 MB / 0.6735 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1947, allocations: 4 kB / 0.6735 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1947, allocations: 3.938 kB / 0.6735 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1947, allocations: 7.984 kB / 0.6735 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.1982, allocations: 1.372 MB / 0.6749 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1982, allocations: 0 / 0.6749 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1984, allocations: 51.92 kB / 0.6749 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/0.201, allocations: 493.3 kB / 0.6754 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.201, allocations: 12 kB / 0.6754 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.2029, allocations: 2.201 MB / 0.6776 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2029, allocations: 0 / 0.6776 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.206, allocations: 1.101 MB / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.2062, allocations: 172.6 kB / 0.6788 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.2063, allocations: 16 kB / 0.6788 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.2065, allocations: 8 kB / 0.6788 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.2066, allocations: 31.95 kB / 0.6789 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.2066, allocations: 20 kB / 0.6789 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004305/0.2071, allocations: 342.8 kB / 0.6792 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2071, allocations: 0 / 0.6792 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006632/0.2077, allocations: 195.5 kB / 0.6794 GB, free: 6.234 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.003729/0.2114, allocations: 1.823 MB / 0.6812 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009651/0.2124, allocations: 453.8 kB / 0.6816 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2124, allocations: 4 kB / 0.6816 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.2129, allocations: 295 kB / 0.6819 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.2138, allocations: 158.4 kB / 0.682 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.2241, allocations: 5.178 MB / 0.6871 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.2246, allocations: 0.8667 MB / 0.6879 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002807/0.2249, allocations: 82.02 kB / 0.688 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.2252, allocations: 211.3 kB / 0.6882 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.2252, allocations: 4 kB / 0.6882 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05/0.2752, allocations: 16.58 MB / 0.7044 GB, free: 12.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.49, allocations: 21.41 kB / 0.7044 GB, free: 12.61 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: 17.027750035049394]