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.00103/0.00103, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008904/0.0008904, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8795/0.8795, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.6344/0.6344, allocations: 116 MB / 375.2 MB, free: 4.172 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.5532 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.787e-05, allocations: 10.02 kB / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01502/0.01504, allocations: 22.2 MB / 0.5749 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005828/0.02086, allocations: 7.907 MB / 0.5827 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.02137, allocations: 47.56 kB / 0.5827 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006958/0.02207, allocations: 373 kB / 0.5831 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.02351, allocations: 0.8921 MB / 0.5839 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.02429, allocations: 498 kB / 0.5844 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009997/0.02529, allocations: 1.286 MB / 0.5857 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.02552, allocations: 152 kB / 0.5858 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.02624, allocations: 0.6933 MB / 0.5865 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.02654, allocations: 342.9 kB / 0.5868 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.02661, allocations: 60 kB / 0.5869 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007731/0.02738, allocations: 483.1 kB / 0.5873 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.02749, allocations: 175.1 kB / 0.5875 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.0277, allocations: 299.2 kB / 0.5878 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.02882, allocations: 1.238 MB / 0.589 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.02882, allocations: 0 / 0.589 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.02882, allocations: 0 / 0.589 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.02883, allocations: 0 / 0.589 GB, free: 8.582 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001322/0.03016, allocations: 1.243 MB / 0.5902 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.03019, allocations: 8.031 kB / 0.5902 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.095e-05/0.03027, allocations: 102.7 kB / 0.5903 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.03046, allocations: 128.2 kB / 0.5904 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.03117, allocations: 0.6108 MB / 0.591 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.03119, allocations: 49.44 kB / 0.5911 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.03125, allocations: 60 kB / 0.5911 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.0319, allocations: 0.6856 MB / 0.5918 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.03192, allocations: 0 / 0.5918 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.03195, allocations: 24 kB / 0.5918 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.03196, allocations: 16 kB / 0.5918 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.0326, allocations: 0.6453 MB / 0.5925 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.03472, allocations: 2.203 MB / 0.5946 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/0.03539, allocations: 0.5828 MB / 0.5952 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.03563, allocations: 235.5 kB / 0.5954 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.03672, allocations: 0.9744 MB / 0.5964 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.03674, allocations: 39.06 kB / 0.5964 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 1.422e-06/0.03674, allocations: 0 / 0.5964 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.001976/0.03872, allocations: 1.03 MB / 0.5974 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.03876, allocations: 85.61 kB / 0.5975 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.03923, allocations: 0.6453 MB / 0.5981 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.03926, allocations: 37.7 kB / 0.5982 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.03945, allocations: 428.6 kB / 0.5986 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.03955, allocations: 218.3 kB / 0.5988 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.03966, allocations: 122.6 kB / 0.5989 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.03973, allocations: 326 kB / 0.5992 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.03993, allocations: 169.9 kB / 0.5994 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.04019, allocations: 313.1 kB / 0.5997 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.0407, allocations: 0.5066 MB / 0.6002 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.04071, allocations: 4 kB / 0.6002 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001225/0.04193, allocations: 0.8309 MB / 0.601 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.04195, allocations: 14.75 kB / 0.601 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.04196, allocations: 4 kB / 0.601 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.04282, allocations: 314.5 kB / 0.6013 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.04303, allocations: 107.9 kB / 0.6014 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.04446, allocations: 2.693 MB / 0.604 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.04468, allocations: 59.52 kB / 0.6041 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.04471, allocations: 32 kB / 0.6041 GB, free: 8.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (67): * Single equations (assignments): 64 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.04491, allocations: 205.7 kB / 0.6043 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.04499, allocations: 87.56 kB / 0.6044 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.04609, allocations: 0.8192 MB / 0.6052 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.04609, allocations: 4 kB / 0.6052 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.0461, allocations: 11.98 kB / 0.6052 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.04611, allocations: 3.938 kB / 0.6052 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.04753, allocations: 1.291 MB / 0.6065 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.04753, allocations: 4 kB / 0.6065 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.0477, allocations: 71.91 kB / 0.6065 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.04847, allocations: 318.2 kB / 0.6068 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.0485, allocations: 19.98 kB / 0.6069 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.04987, allocations: 2.685 MB / 0.6095 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.04987, allocations: 4 kB / 0.6095 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.05096, allocations: 1.028 MB / 0.6105 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.0511, allocations: 127.3 kB / 0.6106 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.05115, allocations: 12 kB / 0.6106 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.05132, allocations: 16 kB / 0.6106 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.05138, allocations: 48.3 kB / 0.6107 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.05141, allocations: 19.98 kB / 0.6107 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003549/0.05176, allocations: 463 kB / 0.6111 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.05176, allocations: 0 / 0.6111 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006389/0.0524, allocations: 295.4 kB / 0.6114 GB, free: 0.707 MB / 0.5261 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 (42): * Single equations (assignments): 39 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/0.05401, allocations: 1.826 MB / 0.6132 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008754/0.05489, allocations: 0.5995 MB / 0.6138 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.05489, allocations: 0 / 0.6138 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.05536, allocations: 382 kB / 0.6142 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/0.05619, allocations: 280.6 kB / 0.6144 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.06255, allocations: 5.988 MB / 0.6203 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.0628, allocations: 362.3 kB / 0.6206 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003197/0.06312, allocations: 128 kB / 0.6207 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.06337, allocations: 320.4 kB / 0.6211 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of SimCode: time 6.72e-07/0.06337, allocations: 4 kB / 0.6211 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2494/0.3127, allocations: 24.89 MB / 0.6454 GB, free: 92.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.429/9.742, allocations: 8.906 kB / 0.6454 GB, free: 92.19 MB / 0.5573 GB " [Timeout remaining time 650] (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/jenkins/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: 12.411559717729688]