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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.2 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8093/0.8093, allocations: 94.59 MB / 400 MB, free: 15.74 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 82.2 kB / 0.5457 GB, free: 42.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1362, allocations: 71.85 MB / 0.6158 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02183/0.158, allocations: 17.66 MB / 0.6331 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009926/0.1679, allocations: 6.883 MB / 0.6398 GB, free: 320 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.1688, allocations: 19.88 kB / 0.6398 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.1697, allocations: 286 kB / 0.6401 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.1714, allocations: 0.5474 MB / 0.6406 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009673/0.1724, allocations: 362.7 kB / 0.641 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1735, allocations: 0.8124 MB / 0.6418 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1737, allocations: 97.55 kB / 0.6419 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.1744, allocations: 358.4 kB / 0.6422 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.1748, allocations: 298.5 kB / 0.6425 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.1749, allocations: 43.94 kB / 0.6425 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009871/0.1758, allocations: 367.6 kB / 0.6429 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.176, allocations: 107.5 kB / 0.643 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.1763, allocations: 302.2 kB / 0.6433 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1776, allocations: 0.8442 MB / 0.6441 GB, free: 11.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1776, allocations: 4 kB / 0.6441 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1776, allocations: 0 / 0.6441 GB, free: 11.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.1777, allocations: 0 / 0.6441 GB, free: 11.88 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.001793/0.1795, allocations: 0.9844 MB / 0.6451 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1795, allocations: 12.03 kB / 0.6451 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1796, allocations: 78.72 kB / 0.6452 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.1798, allocations: 88.41 kB / 0.6452 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.1808, allocations: 0.5233 MB / 0.6458 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1808, allocations: 29 kB / 0.6458 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.1809, allocations: 43.94 kB / 0.6458 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.1817, allocations: 463.7 kB / 0.6463 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1817, allocations: 4 kB / 0.6463 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.1817, allocations: 16 kB / 0.6463 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1817, allocations: 11.94 kB / 0.6463 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.1824, allocations: 415.7 kB / 0.6467 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.1852, allocations: 2.061 MB / 0.6487 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.1859, allocations: 370.8 kB / 0.6491 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.1862, allocations: 166.3 kB / 0.6492 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/0.1879, allocations: 1.411 MB / 0.6506 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1879, allocations: 38.89 kB / 0.6506 GB, free: 4.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.1879, allocations: 4 kB / 0.6506 GB, free: 4.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.005856/0.1938, allocations: 1.448 MB / 0.652 GB, free: 3.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.1939, allocations: 85.05 kB / 0.6521 GB, free: 3.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.1945, allocations: 475 kB / 0.6526 GB, free: 2.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1945, allocations: 37.73 kB / 0.6526 GB, free: 2.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.1947, allocations: 292.7 kB / 0.6529 GB, free: 2.289 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1949, allocations: 150.7 kB / 0.653 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.195, allocations: 70.12 kB / 0.6531 GB, free: 2.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1952, allocations: 366.8 kB / 0.6535 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.1955, allocations: 128.8 kB / 0.6536 GB, free: 1.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1957, allocations: 185.8 kB / 0.6538 GB, free: 1.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.1963, allocations: 331 kB / 0.6541 GB, free: 1.031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1963, allocations: 4 kB / 0.6541 GB, free: 1.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00282/0.1991, allocations: 0.7913 MB / 0.6549 GB, free: 228 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1992, allocations: 8 kB / 0.6549 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1992, allocations: 0 / 0.6549 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/0.2019, allocations: 497.3 kB / 0.6553 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.2023, allocations: 59.91 kB / 0.6554 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.2047, allocations: 2.201 MB / 0.6575 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.2052, allocations: 55.77 kB / 0.6576 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.2052, allocations: 19.94 kB / 0.6576 GB, free: 13.22 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.0003206/0.2055, allocations: 165.8 kB / 0.6578 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.2057, allocations: 59.62 kB / 0.6578 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.2088, allocations: 0.86 MB / 0.6587 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.2088, allocations: 4 kB / 0.6587 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2088, allocations: 4 kB / 0.6587 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2088, allocations: 0 / 0.6587 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.2125, allocations: 1.356 MB / 0.66 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2126, allocations: 0 / 0.66 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2128, allocations: 59.97 kB / 0.6601 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.2155, allocations: 489.2 kB / 0.6605 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.2155, allocations: 12 kB / 0.6605 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.2178, allocations: 2.208 MB / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2178, allocations: 0 / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.2211, allocations: 1.104 MB / 0.6638 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.2214, allocations: 164.6 kB / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.2215, allocations: 12 kB / 0.6639 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.2218, allocations: 11.98 kB / 0.6639 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.2219, allocations: 31.66 kB / 0.664 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.2219, allocations: 19.92 kB / 0.664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005172/0.2224, allocations: 342.9 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.2224, allocations: 0 / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007813/0.2232, allocations: 203.5 kB / 0.6645 GB, free: 5.828 MB / 0.4981 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.004077/0.2273, allocations: 1.826 MB / 0.6663 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.2284, allocations: 453.9 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2284, allocations: 0 / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.2289, allocations: 306.1 kB / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009873/0.2299, allocations: 164.5 kB / 0.6672 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.2406, allocations: 5.167 MB / 0.6722 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.2411, allocations: 0.8668 MB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00029/0.2414, allocations: 73.47 kB / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.2417, allocations: 211.4 kB / 0.6733 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.2417, allocations: 0 / 0.6733 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05321/0.2949, allocations: 16.67 MB / 0.6896 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/14.91, allocations: 16.03 kB / 0.6896 GB, free: 12.09 MB / 0.5294 GB " [Timeout remaining time 645] (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_2/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.659586132969707]