Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001389/0.001389, 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.001738/0.001738, allocations: 210.8 kB / 22.25 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.712/1.712, allocations: 230.6 MB / 256 MB, free: 7.801 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.109/1.109, allocations: 94.62 MB / 407 MB, free: 8.855 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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_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.002722/0.002722, allocations: 85.05 kB / 0.5549 GB, free: 38.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2345, allocations: 73.06 MB / 0.6263 GB, free: 188 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03286/0.2673, allocations: 21.18 MB / 0.647 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.2834, allocations: 8.668 MB / 0.6554 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.285, allocations: 47.56 kB / 0.6555 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.2867, allocations: 353.5 kB / 0.6558 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.291, allocations: 0.8152 MB / 0.6566 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.2932, allocations: 458.4 kB / 0.657 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.2963, allocations: 1.182 MB / 0.6582 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.2968, allocations: 136 kB / 0.6583 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.298, allocations: 0.5057 MB / 0.6588 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.2987, allocations: 393.8 kB / 0.6592 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.2988, allocations: 60 kB / 0.6593 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.3008, allocations: 483.5 kB / 0.6597 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.301, allocations: 167.1 kB / 0.6599 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3014, allocations: 354.1 kB / 0.6602 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.3042, allocations: 1.206 MB / 0.6614 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.3042, allocations: 4 kB / 0.6614 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.476e-06/0.3042, allocations: 0 / 0.6614 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.3043, allocations: 0 / 0.6614 GB, free: 12.07 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.002832/0.3071, allocations: 1.208 MB / 0.6626 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.3072, allocations: 12.03 kB / 0.6626 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.3074, allocations: 110.6 kB / 0.6627 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.3077, allocations: 116.3 kB / 0.6628 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.3092, allocations: 0.58 MB / 0.6634 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.3093, allocations: 49.31 kB / 0.6634 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3094, allocations: 64 kB / 0.6635 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3107, allocations: 0.6692 MB / 0.6641 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.3107, allocations: 4 kB / 0.6641 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.3108, allocations: 24 kB / 0.6642 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.3108, allocations: 19.94 kB / 0.6642 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.312, allocations: 0.6336 MB / 0.6648 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.3162, allocations: 2.129 MB / 0.6669 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.3174, allocations: 0.6194 MB / 0.6675 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.3179, allocations: 263.5 kB / 0.6677 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.3196, allocations: 0.7833 MB / 0.6685 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3196, allocations: 39.22 kB / 0.6685 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.605e-06/0.3196, allocations: 0 / 0.6685 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0105/0.3301, allocations: 2.252 MB / 0.6707 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.3303, allocations: 93.69 kB / 0.6708 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.3313, allocations: 0.602 MB / 0.6714 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.3313, allocations: 41.73 kB / 0.6714 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.3317, allocations: 384.9 kB / 0.6718 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.332, allocations: 241.9 kB / 0.672 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.3322, allocations: 114.3 kB / 0.6722 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.3324, allocations: 329.9 kB / 0.6725 GB, free: 452 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.3328, allocations: 213.2 kB / 0.6727 GB, free: 244 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.3333, allocations: 307.7 kB / 0.673 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.3343, allocations: 0.5405 MB / 0.6735 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3343, allocations: 4 kB / 0.6735 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005289/0.3396, allocations: 1.393 MB / 0.6749 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.3396, allocations: 4 kB / 0.6749 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3396, allocations: 4 kB / 0.6749 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/0.3449, allocations: 0.9352 MB / 0.6758 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.3455, allocations: 91.89 kB / 0.6759 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.3493, allocations: 2.834 MB / 0.6786 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.35, allocations: 67.52 kB / 0.6787 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.3501, allocations: 23.98 kB / 0.6787 GB, free: 9.793 MB / 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.0005559/0.3507, allocations: 205.6 kB / 0.6789 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.3509, allocations: 79.48 kB / 0.679 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/0.3565, allocations: 1.48 MB / 0.6804 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.3565, allocations: 11.94 kB / 0.6804 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3565, allocations: 0 / 0.6804 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.3566, allocations: 11.97 kB / 0.6805 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/0.3631, allocations: 2.02 MB / 0.6824 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3631, allocations: 0 / 0.6824 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.3634, allocations: 71.91 kB / 0.6825 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004975/0.3684, allocations: 0.9391 MB / 0.6834 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.3684, allocations: 20 kB / 0.6834 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.3717, allocations: 2.85 MB / 0.6862 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.3717, allocations: 4.031 kB / 0.6862 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/0.3774, allocations: 1.771 MB / 0.688 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.3779, allocations: 135.5 kB / 0.6881 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.378, allocations: 12 kB / 0.6881 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3784, allocations: 16 kB / 0.6881 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3785, allocations: 48.56 kB / 0.6882 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.3786, allocations: 19.98 kB / 0.6882 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006586/0.3792, allocations: 427 kB / 0.6886 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3792, allocations: 0 / 0.6886 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001023/0.3803, allocations: 283.4 kB / 0.6889 GB, free: 15.11 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.006647/0.3869, allocations: 2.598 MB / 0.6914 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.3885, allocations: 0.6642 MB / 0.692 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3885, allocations: 0 / 0.692 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007884/0.3893, allocations: 430.1 kB / 0.6924 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3907, allocations: 222.8 kB / 0.6927 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.4085, allocations: 7.289 MB / 0.6998 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.409, allocations: 361.4 kB / 0.7001 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.4095, allocations: 107.2 kB / 0.7002 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.41, allocations: 311.2 kB / 0.7005 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/0.41, allocations: 0 / 0.7005 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09904/0.5091, allocations: 23.95 MB / 0.7239 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/17.83, allocations: 11.28 kB / 0.7239 GB, free: 11.29 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.74039009772241]