Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001396/0.001396, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001487/0.001487, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.6/1.6, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.949/0.949, allocations: 94.55 MB / 403.4 MB, free: 10.09 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/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,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",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.002451/0.002451, allocations: 86.88 kB / 0.5499 GB, free: 38.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1543, allocations: 73.02 MB / 0.6212 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02167/0.176, allocations: 17.54 MB / 0.6383 GB, free: 332 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00878/0.1848, allocations: 6.821 MB / 0.645 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.1854, allocations: 35.69 kB / 0.645 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.1862, allocations: 282 kB / 0.6453 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1877, allocations: 0.5356 MB / 0.6458 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1889, allocations: 370.7 kB / 0.6462 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1902, allocations: 0.801 MB / 0.6469 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1904, allocations: 105.5 kB / 0.647 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.1912, allocations: 370.4 kB / 0.6474 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.1916, allocations: 306.4 kB / 0.6477 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.1917, allocations: 36 kB / 0.6477 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1927, allocations: 371.6 kB / 0.6481 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1929, allocations: 111.4 kB / 0.6482 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1933, allocations: 294.2 kB / 0.6485 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1946, allocations: 0.8404 MB / 0.6493 GB, free: 5.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1946, allocations: 4 kB / 0.6493 GB, free: 5.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1946, allocations: 0 / 0.6493 GB, free: 5.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.1946, allocations: 4 kB / 0.6493 GB, free: 5.043 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.001813/0.1964, allocations: 0.992 MB / 0.6503 GB, free: 4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.1965, allocations: 12.02 kB / 0.6503 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.752e-05/0.1966, allocations: 78.72 kB / 0.6504 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1968, allocations: 80.47 kB / 0.6504 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1978, allocations: 0.5194 MB / 0.6509 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.1978, allocations: 33 kB / 0.651 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.1979, allocations: 44 kB / 0.651 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.1987, allocations: 459.8 kB / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1987, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.1987, allocations: 16 kB / 0.6515 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.1987, allocations: 15.98 kB / 0.6515 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.1995, allocations: 403.7 kB / 0.6519 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.2025, allocations: 2.072 MB / 0.6539 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.2032, allocations: 381.9 kB / 0.6543 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2036, allocations: 162.9 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.2052, allocations: 1.407 MB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2052, allocations: 34.89 kB / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.844e-06/0.2052, allocations: 4 kB / 0.6558 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006001/0.2112, allocations: 1.452 MB / 0.6572 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.2113, allocations: 85.05 kB / 0.6573 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.2119, allocations: 475 kB / 0.6578 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.2119, allocations: 37.64 kB / 0.6578 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.2121, allocations: 292.6 kB / 0.6581 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2123, allocations: 154.7 kB / 0.6582 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2124, allocations: 78.12 kB / 0.6583 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2126, allocations: 366.8 kB / 0.6587 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.2128, allocations: 120.8 kB / 0.6588 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.2132, allocations: 185.8 kB / 0.659 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.2138, allocations: 327 kB / 0.6593 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2138, allocations: 0 / 0.6593 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002812/0.2167, allocations: 0.803 MB / 0.66 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2167, allocations: 4 kB / 0.6601 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2167, allocations: 8 kB / 0.6601 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.2194, allocations: 489.2 kB / 0.6605 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.2197, allocations: 67.91 kB / 0.6606 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.2219, allocations: 2.191 MB / 0.6627 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.2222, allocations: 47.59 kB / 0.6628 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.2223, allocations: 16 kB / 0.6628 GB, free: 6.391 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.0002913/0.2226, allocations: 173.8 kB / 0.663 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2227, allocations: 59.72 kB / 0.663 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.2257, allocations: 0.8612 MB / 0.6639 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.2257, allocations: 8 kB / 0.6639 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2257, allocations: 3.984 kB / 0.6639 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2257, allocations: 0 / 0.6639 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.2296, allocations: 1.368 MB / 0.6652 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2296, allocations: 0 / 0.6652 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.2298, allocations: 43.98 kB / 0.6652 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002569/0.2324, allocations: 0.4933 MB / 0.6657 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.2324, allocations: 12 kB / 0.6657 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.2346, allocations: 2.212 MB / 0.6679 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2346, allocations: 0 / 0.6679 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.2379, allocations: 1.1 MB / 0.669 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.2381, allocations: 176.5 kB / 0.6691 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.2382, allocations: 8 kB / 0.6691 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.2385, allocations: 12 kB / 0.6692 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.2386, allocations: 28.09 kB / 0.6692 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2386, allocations: 15.94 kB / 0.6692 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004895/0.2391, allocations: 346.8 kB / 0.6695 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2391, allocations: 0 / 0.6695 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007523/0.2399, allocations: 195.5 kB / 0.6697 GB, free: 14.98 MB / 0.5137 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.003884/0.2438, allocations: 1.811 MB / 0.6715 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.245, allocations: 461.7 kB / 0.6719 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.245, allocations: 0 / 0.6719 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.2455, allocations: 306.4 kB / 0.6722 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009921/0.2465, allocations: 155.1 kB / 0.6724 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.2582, allocations: 5.163 MB / 0.6774 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.2588, allocations: 0.8667 MB / 0.6783 GB, free: 6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003698/0.2592, allocations: 88.88 kB / 0.6783 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.2595, allocations: 211.4 kB / 0.6785 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/0.2595, allocations: 0 / 0.6785 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.3159, allocations: 16.59 MB / 0.6947 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.57, allocations: 5.25 kB / 0.6947 GB, free: 5.363 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.837170687009348]