Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00176/0.00176, allocations: 104.8 kB / 16.45 MB, free: 6.449 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.001476/0.001476, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.7534/0.7534, allocations: 100.3 MB / 409.1 MB, free: 4.789 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_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.002673/0.002673, allocations: 83.45 kB / 0.5582 GB, free: 36.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1219, allocations: 74.43 MB / 0.6309 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02883/0.1507, allocations: 23.09 MB / 0.6534 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1625, allocations: 9.493 MB / 0.6627 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008397/0.1633, allocations: 47.56 kB / 0.6627 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.1646, allocations: 413.2 kB / 0.6631 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.167, allocations: 0.8151 MB / 0.6639 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1683, allocations: 474.4 kB / 0.6644 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1701, allocations: 1.159 MB / 0.6655 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.1704, allocations: 159.3 kB / 0.6657 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/0.1714, allocations: 0.4901 MB / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.1721, allocations: 449.7 kB / 0.6666 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.1723, allocations: 56 kB / 0.6666 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.1738, allocations: 0.519 MB / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.174, allocations: 163.2 kB / 0.6673 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.1745, allocations: 437.5 kB / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.1769, allocations: 1.202 MB / 0.6689 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1769, allocations: 3.938 kB / 0.6689 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1769, allocations: 0 / 0.6689 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.688e-05/0.1769, allocations: 4 kB / 0.6689 GB, free: 2.211 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.002632/0.1796, allocations: 1.291 MB / 0.6701 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1796, allocations: 8.031 kB / 0.6702 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1798, allocations: 106.7 kB / 0.6703 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.1801, allocations: 116.2 kB / 0.6704 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1814, allocations: 0.6678 MB / 0.671 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.1814, allocations: 49.31 kB / 0.6711 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1815, allocations: 60 kB / 0.6711 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1827, allocations: 0.6691 MB / 0.6718 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1827, allocations: 3.984 kB / 0.6718 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.1828, allocations: 24 kB / 0.6718 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.1828, allocations: 20 kB / 0.6718 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1839, allocations: 0.618 MB / 0.6724 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.188, allocations: 3.011 MB / 0.6754 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.1892, allocations: 0.6218 MB / 0.676 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.1896, allocations: 258.6 kB / 0.6762 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002351/0.192, allocations: 1.897 MB / 0.6781 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.192, allocations: 43.06 kB / 0.6781 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.192, allocations: 0 / 0.6781 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01017/0.2022, allocations: 2.424 MB / 0.6805 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.2022, allocations: 89.61 kB / 0.6806 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.203, allocations: 0.5943 MB / 0.6811 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.2031, allocations: 33.7 kB / 0.6812 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.2034, allocations: 392.9 kB / 0.6816 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.2036, allocations: 245.9 kB / 0.6818 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.2038, allocations: 118.3 kB / 0.6819 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.204, allocations: 330 kB / 0.6822 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.2043, allocations: 205.2 kB / 0.6824 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.2048, allocations: 298.8 kB / 0.6827 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.2057, allocations: 0.5315 MB / 0.6832 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2057, allocations: 0 / 0.6832 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005089/0.2108, allocations: 1.369 MB / 0.6845 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2108, allocations: 8 kB / 0.6846 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2108, allocations: 8.062 kB / 0.6846 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/0.216, allocations: 0.9312 MB / 0.6855 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.2164, allocations: 99.89 kB / 0.6856 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.2192, allocations: 2.955 MB / 0.6885 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.2197, allocations: 59.55 kB / 0.6885 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/0.2198, allocations: 27.98 kB / 0.6885 GB, free: 13.04 MB / 0.5294 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.0003518/0.2201, allocations: 202.7 kB / 0.6887 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.2204, allocations: 87.42 kB / 0.6888 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.2257, allocations: 1.473 MB / 0.6903 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.2257, allocations: 19.86 kB / 0.6903 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2257, allocations: 0 / 0.6903 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2257, allocations: 3.984 kB / 0.6903 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0062/0.2319, allocations: 2.129 MB / 0.6924 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.2319, allocations: 4 kB / 0.6924 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.2323, allocations: 71.91 kB / 0.6924 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005014/0.2373, allocations: 0.9353 MB / 0.6933 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.2373, allocations: 16 kB / 0.6934 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.2401, allocations: 2.952 MB / 0.6962 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2401, allocations: 4.031 kB / 0.6962 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.2457, allocations: 1.76 MB / 0.698 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.2461, allocations: 212.4 kB / 0.6982 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.2462, allocations: 16 kB / 0.6982 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.2466, allocations: 19.98 kB / 0.6982 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2467, allocations: 44.5 kB / 0.6982 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.2468, allocations: 16 kB / 0.6983 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005682/0.2473, allocations: 431 kB / 0.6987 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2473, allocations: 0 / 0.6987 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009558/0.2483, allocations: 295.3 kB / 0.699 GB, free: 2.02 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.006406/0.2547, allocations: 2.585 MB / 0.7015 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.2562, allocations: 0.6627 MB / 0.7021 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2562, allocations: 0 / 0.7021 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.257, allocations: 430.3 kB / 0.7025 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.2582, allocations: 232 kB / 0.7028 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.2752, allocations: 7.278 MB / 0.7099 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.2759, allocations: 0.9503 MB / 0.7108 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.2763, allocations: 110.7 kB / 0.7109 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.2767, allocations: 311.3 kB / 0.7112 GB, free: 5.211 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.2767, allocations: 4 kB / 0.7112 GB, free: 5.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06311/0.3398, allocations: 23.98 MB / 0.7346 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.05, allocations: 15.91 kB / 0.7346 GB, free: 13.52 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.597002040129155]