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.001977/0.001977, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002929/0.002929, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 7.812 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 1.026/1.026, allocations: 94.63 MB / 407.1 MB, free: 8.918 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.002706/0.002706, allocations: 90.78 kB / 0.5549 GB, free: 38.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1968, allocations: 73.05 MB / 0.6263 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02373/0.2206, allocations: 16.13 MB / 0.642 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.231, allocations: 6.222 MB / 0.6481 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000842/0.2319, allocations: 35.69 kB / 0.6481 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.2329, allocations: 250.2 kB / 0.6484 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.2354, allocations: 0.5473 MB / 0.6489 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2367, allocations: 369.3 kB / 0.6493 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2381, allocations: 0.8087 MB / 0.6501 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.2384, allocations: 94.09 kB / 0.6501 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.2393, allocations: 374.4 kB / 0.6505 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.2397, allocations: 278.4 kB / 0.6508 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.762e-05/0.2398, allocations: 36 kB / 0.6508 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2411, allocations: 335.7 kB / 0.6511 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2413, allocations: 107.4 kB / 0.6512 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.2416, allocations: 234.7 kB / 0.6515 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.2433, allocations: 0.8403 MB / 0.6523 GB, free: 5.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.2434, allocations: 0 / 0.6523 GB, free: 5.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2434, allocations: 0 / 0.6523 GB, free: 5.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.2434, allocations: 4 kB / 0.6523 GB, free: 5.477 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.002103/0.2455, allocations: 0.909 MB / 0.6532 GB, free: 4.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.251e-05/0.2456, allocations: 12.03 kB / 0.6532 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.2457, allocations: 82.7 kB / 0.6533 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.246, allocations: 84.47 kB / 0.6533 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.2471, allocations: 461.9 kB / 0.6538 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.2471, allocations: 29 kB / 0.6538 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.2472, allocations: 40 kB / 0.6538 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.248, allocations: 467.7 kB / 0.6543 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.248, allocations: 0 / 0.6543 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.2481, allocations: 20 kB / 0.6543 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.2481, allocations: 12 kB / 0.6543 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/0.249, allocations: 411.7 kB / 0.6547 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.252, allocations: 1.485 MB / 0.6562 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.2528, allocations: 373.4 kB / 0.6565 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.2531, allocations: 166.2 kB / 0.6567 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.2542, allocations: 0.6049 MB / 0.6573 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2542, allocations: 38.88 kB / 0.6573 GB, free: 132 kB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.843e-06/0.2542, allocations: 0 / 0.6573 GB, free: 132 kB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.005968/0.2602, allocations: 1.313 MB / 0.6586 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.2603, allocations: 85.05 kB / 0.6587 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.261, allocations: 478.9 kB / 0.6591 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.261, allocations: 29.7 kB / 0.6592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.2613, allocations: 288.7 kB / 0.6594 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.2615, allocations: 154.7 kB / 0.6596 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2616, allocations: 78.12 kB / 0.6596 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.2618, allocations: 374.8 kB / 0.66 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.2621, allocations: 128.8 kB / 0.6601 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.2624, allocations: 190.3 kB / 0.6603 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.263, allocations: 337.8 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.263, allocations: 4 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00292/0.2659, allocations: 0.8028 MB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.266, allocations: 8 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.266, allocations: 0 / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/0.2688, allocations: 493.2 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.2691, allocations: 67.91 kB / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.2715, allocations: 2.09 MB / 0.664 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.2719, allocations: 43.72 kB / 0.664 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.2719, allocations: 16 kB / 0.6641 GB, free: 8.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003269/0.2723, allocations: 169.7 kB / 0.6642 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.2724, allocations: 59.62 kB / 0.6643 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.2754, allocations: 0.8462 MB / 0.6651 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2754, allocations: 4 kB / 0.6651 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2754, allocations: 0 / 0.6651 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2755, allocations: 8.141 kB / 0.6651 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.2791, allocations: 1.284 MB / 0.6664 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2791, allocations: 0 / 0.6664 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2793, allocations: 51.91 kB / 0.6664 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/0.282, allocations: 497.2 kB / 0.6669 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.282, allocations: 12 kB / 0.6669 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.2842, allocations: 2.086 MB / 0.6689 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2842, allocations: 4 kB / 0.6689 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.2874, allocations: 1.103 MB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2877, allocations: 87.41 kB / 0.6701 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.2878, allocations: 12 kB / 0.6701 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.288, allocations: 11.98 kB / 0.6701 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2881, allocations: 31.89 kB / 0.6702 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.2881, allocations: 15.98 kB / 0.6702 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005097/0.2887, allocations: 346.8 kB / 0.6705 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2887, allocations: 0 / 0.6705 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007353/0.2894, allocations: 183.6 kB / 0.6707 GB, free: 1.887 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 (26): * Single equations (assignments): 24 * 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.003877/0.2933, allocations: 1.815 MB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.2944, allocations: 454.4 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2944, allocations: 0 / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.295, allocations: 298.5 kB / 0.6732 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.296, allocations: 160 kB / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.3074, allocations: 5.179 MB / 0.6784 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.3078, allocations: 267.5 kB / 0.6786 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.3082, allocations: 81.14 kB / 0.6787 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.3086, allocations: 207.4 kB / 0.6789 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.414e-06/0.3086, allocations: 0 / 0.6789 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06654/0.3751, allocations: 16.87 MB / 0.6954 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/17.17, allocations: 8.578 kB / 0.6954 GB, free: 8.625 MB / 0.5294 GB " [Timeout remaining time 643] (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: 21.921017104759812]