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.001815/0.001815, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002548/0.002548, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.785 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.8082/0.8082, allocations: 100.9 MB / 413.3 MB, free: 2.859 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.002578/0.002578, allocations: 85.91 kB / 0.5641 GB, free: 35.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 74.61 MB / 0.6369 GB, free: 6.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02601/0.1624, allocations: 21.17 MB / 0.6576 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1739, allocations: 8.664 MB / 0.6661 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.175, allocations: 47.56 kB / 0.6661 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1761, allocations: 361.4 kB / 0.6665 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.1789, allocations: 0.8113 MB / 0.6673 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.1803, allocations: 474.4 kB / 0.6677 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1821, allocations: 1.155 MB / 0.6688 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.1825, allocations: 151.9 kB / 0.669 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009315/0.1834, allocations: 493.9 kB / 0.6695 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.184, allocations: 409.7 kB / 0.6698 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.1841, allocations: 60 kB / 0.6699 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1854, allocations: 479.5 kB / 0.6704 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1856, allocations: 171.2 kB / 0.6705 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.186, allocations: 350.1 kB / 0.6709 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.1882, allocations: 1.198 MB / 0.672 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1882, allocations: 0 / 0.672 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.1882, allocations: 0 / 0.672 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.1882, allocations: 0 / 0.672 GB, free: 2.367 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.002335/0.1905, allocations: 1.218 MB / 0.6732 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1906, allocations: 9.469 kB / 0.6732 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.1907, allocations: 106.7 kB / 0.6733 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.1911, allocations: 120.2 kB / 0.6734 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.1923, allocations: 0.5878 MB / 0.674 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.1923, allocations: 45.31 kB / 0.6741 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.1924, allocations: 60 kB / 0.6741 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.1936, allocations: 0.6769 MB / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.1936, allocations: 0 / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.1936, allocations: 28 kB / 0.6748 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.1937, allocations: 19.98 kB / 0.6748 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1948, allocations: 0.6297 MB / 0.6754 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.1987, allocations: 2.129 MB / 0.6775 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1998, allocations: 0.6251 MB / 0.6781 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.2002, allocations: 255.6 kB / 0.6784 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/0.2018, allocations: 0.7872 MB / 0.6791 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.2018, allocations: 43.16 kB / 0.6792 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.2018, allocations: 0 / 0.6792 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01027/0.2121, allocations: 2.263 MB / 0.6814 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.2122, allocations: 89.7 kB / 0.6815 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/0.213, allocations: 0.6021 MB / 0.6821 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.2131, allocations: 33.7 kB / 0.6821 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.2134, allocations: 384.9 kB / 0.6825 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.2137, allocations: 249.9 kB / 0.6827 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.2138, allocations: 106.3 kB / 0.6828 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.214, allocations: 334 kB / 0.6831 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.2144, allocations: 209.2 kB / 0.6833 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.2149, allocations: 307.6 kB / 0.6836 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008871/0.2158, allocations: 0.5366 MB / 0.6841 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2158, allocations: 0 / 0.6841 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005167/0.2209, allocations: 1.397 MB / 0.6855 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.221, allocations: 4 kB / 0.6855 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.221, allocations: 4 kB / 0.6855 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/0.2261, allocations: 0.9313 MB / 0.6864 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.2266, allocations: 103.8 kB / 0.6865 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.2295, allocations: 2.83 MB / 0.6893 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.2301, allocations: 67.52 kB / 0.6894 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.2302, allocations: 27.98 kB / 0.6894 GB, free: 72 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0003947/0.2306, allocations: 189.7 kB / 0.6896 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.2307, allocations: 87.55 kB / 0.6896 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.236, allocations: 1.481 MB / 0.6911 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.2361, allocations: 11.94 kB / 0.6911 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2361, allocations: 0 / 0.6911 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.2361, allocations: 3.984 kB / 0.6911 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.2424, allocations: 2.036 MB / 0.6931 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.2424, allocations: 0 / 0.6931 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.2429, allocations: 75.89 kB / 0.6932 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005303/0.2482, allocations: 0.9352 MB / 0.6941 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.2483, allocations: 19.98 kB / 0.6941 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.2512, allocations: 2.834 MB / 0.6969 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2512, allocations: 0 / 0.6969 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.2568, allocations: 1.775 MB / 0.6986 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.2572, allocations: 131.3 kB / 0.6987 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.2573, allocations: 16 kB / 0.6987 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.2577, allocations: 16.08 kB / 0.6988 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2578, allocations: 48.5 kB / 0.6988 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.2578, allocations: 27.98 kB / 0.6988 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006645/0.2585, allocations: 423 kB / 0.6992 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2585, allocations: 3.938 kB / 0.6992 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001085/0.2596, allocations: 291.4 kB / 0.6995 GB, free: 5.387 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 (40): * Single equations (assignments): 37 * 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.006322/0.2659, allocations: 2.582 MB / 0.702 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.2675, allocations: 0.668 MB / 0.7027 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2675, allocations: 0 / 0.7027 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.2683, allocations: 430.3 kB / 0.7031 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.2696, allocations: 230 kB / 0.7033 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.2866, allocations: 7.293 MB / 0.7104 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.287, allocations: 361.7 kB / 0.7108 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004286/0.2874, allocations: 105.8 kB / 0.7109 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.2878, allocations: 303.3 kB / 0.7112 GB, free: 9.164 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.2878, allocations: 4 kB / 0.7112 GB, free: 9.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/0.3526, allocations: 23.95 MB / 0.7346 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/14.74, allocations: 7.922 kB / 0.7346 GB, free: 1.566 MB / 0.5606 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.601813270244747]