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.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.001682/0.001682, 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.002005/0.002005, 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.463/1.463, allocations: 225.6 MB / 250.2 MB, free: 13.26 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.7709/0.7709, allocations: 94.6 MB / 400 MB, free: 15.73 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_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: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 82.5 kB / 0.5457 GB, free: 42.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1272, allocations: 71.85 MB / 0.6158 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0292/0.1564, allocations: 23.29 MB / 0.6386 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.1696, allocations: 9.567 MB / 0.6479 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.1707, allocations: 31.81 kB / 0.648 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.172, allocations: 409.2 kB / 0.6484 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.1748, allocations: 0.8151 MB / 0.6492 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1763, allocations: 474.3 kB / 0.6496 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.1781, allocations: 1.159 MB / 0.6507 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.1784, allocations: 155.5 kB / 0.6509 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008688/0.1793, allocations: 493.9 kB / 0.6514 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006352/0.1799, allocations: 449.7 kB / 0.6518 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.1801, allocations: 56 kB / 0.6518 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1816, allocations: 0.5112 MB / 0.6523 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.1818, allocations: 163.2 kB / 0.6525 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.1823, allocations: 429.5 kB / 0.6529 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.1846, allocations: 1.218 MB / 0.6541 GB, free: 1.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1846, allocations: 0 / 0.6541 GB, free: 1.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1846, allocations: 7.938 kB / 0.6541 GB, free: 1.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1846, allocations: 0 / 0.6541 GB, free: 1.586 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002536/0.1871, allocations: 1.291 MB / 0.6554 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1872, allocations: 8.031 kB / 0.6554 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.1873, allocations: 106.7 kB / 0.6555 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.1876, allocations: 108.3 kB / 0.6556 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.1889, allocations: 0.6678 MB / 0.6562 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1889, allocations: 49.31 kB / 0.6563 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.189, allocations: 67.95 kB / 0.6563 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1902, allocations: 0.6652 MB / 0.657 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1902, allocations: 0 / 0.657 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.1902, allocations: 24 kB / 0.657 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.1902, allocations: 16 kB / 0.657 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1914, allocations: 0.6336 MB / 0.6576 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.1956, allocations: 3.008 MB / 0.6606 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1967, allocations: 0.6172 MB / 0.6612 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1972, allocations: 251.3 kB / 0.6614 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/0.1997, allocations: 1.909 MB / 0.6633 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1998, allocations: 35.12 kB / 0.6633 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.1998, allocations: 0 / 0.6633 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0103/0.2101, allocations: 2.436 MB / 0.6657 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2101, allocations: 85.61 kB / 0.6658 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/0.2109, allocations: 0.5981 MB / 0.6664 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.211, allocations: 37.7 kB / 0.6664 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.2113, allocations: 380.9 kB / 0.6668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.2115, allocations: 245.9 kB / 0.667 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.2117, allocations: 114.3 kB / 0.6671 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2118, allocations: 330 kB / 0.6674 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.2123, allocations: 205.2 kB / 0.6676 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.2128, allocations: 298.8 kB / 0.6679 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.2137, allocations: 0.5315 MB / 0.6684 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2137, allocations: 0 / 0.6684 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005215/0.2189, allocations: 1.381 MB / 0.6698 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2189, allocations: 4 kB / 0.6698 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2189, allocations: 4 kB / 0.6698 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.224, allocations: 0.9352 MB / 0.6707 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.2245, allocations: 95.89 kB / 0.6708 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.2274, allocations: 2.948 MB / 0.6737 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.228, allocations: 59.52 kB / 0.6737 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.2281, allocations: 27.98 kB / 0.6737 GB, free: 12.43 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.0003361/0.2284, allocations: 205.6 kB / 0.6739 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.2286, allocations: 79.48 kB / 0.674 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.234, allocations: 1.48 MB / 0.6755 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.234, allocations: 11.94 kB / 0.6755 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.234, allocations: 0 / 0.6755 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.234, allocations: 3.984 kB / 0.6755 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/0.2404, allocations: 2.14 MB / 0.6776 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.2404, allocations: 4 kB / 0.6776 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.2407, allocations: 75.89 kB / 0.6776 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/0.2457, allocations: 0.9275 MB / 0.6785 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.2457, allocations: 12 kB / 0.6786 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.2487, allocations: 2.956 MB / 0.6814 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.2487, allocations: 4.031 kB / 0.6815 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.2544, allocations: 1.76 MB / 0.6832 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.2548, allocations: 216.4 kB / 0.6834 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.2549, allocations: 12 kB / 0.6834 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.2552, allocations: 12 kB / 0.6834 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.2554, allocations: 44.5 kB / 0.6834 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.2555, allocations: 23.98 kB / 0.6835 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005605/0.2561, allocations: 431 kB / 0.6839 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2561, allocations: 3.938 kB / 0.6839 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009581/0.257, allocations: 295.3 kB / 0.6842 GB, free: 1.418 MB / 0.5137 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.006394/0.2634, allocations: 2.591 MB / 0.6867 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.2649, allocations: 0.6666 MB / 0.6873 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2649, allocations: 3.938 kB / 0.6873 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.2657, allocations: 418.4 kB / 0.6877 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2668, allocations: 222.6 kB / 0.688 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.284, allocations: 7.271 MB / 0.6951 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.2847, allocations: 0.9464 MB / 0.696 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000502/0.2852, allocations: 119 kB / 0.6961 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.2856, allocations: 303.3 kB / 0.6964 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.2856, allocations: 0 / 0.6964 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06503/0.3506, allocations: 24.15 MB / 0.72 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/16.86, allocations: 4 kB / 0.72 GB, free: 12.71 MB / 0.5606 GB " [Timeout remaining time 643] (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_2/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: 20.686738776043057]