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.001263/0.001263, allocations: 101 kB / 16.45 MB, free: 6.449 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.001389/0.001389, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.636/1.636, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.9379/0.9379, allocations: 94.56 MB / 403.4 MB, free: 10.15 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.002451/0.002451, allocations: 89.7 kB / 0.5499 GB, free: 38.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1766, allocations: 73.02 MB / 0.6212 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03062/0.2073, allocations: 23.11 MB / 0.6438 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.2211, allocations: 9.497 MB / 0.653 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2228, allocations: 39.62 kB / 0.6531 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2246, allocations: 417.2 kB / 0.6535 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.2285, allocations: 0.8191 MB / 0.6543 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.23, allocations: 474.3 kB / 0.6547 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.2325, allocations: 1.155 MB / 0.6559 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.2328, allocations: 151.5 kB / 0.656 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.2341, allocations: 0.4978 MB / 0.6565 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.2346, allocations: 449.8 kB / 0.6569 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.2347, allocations: 60 kB / 0.657 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.2366, allocations: 0.5073 MB / 0.6575 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2368, allocations: 167.2 kB / 0.6576 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.2375, allocations: 437.5 kB / 0.658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.2402, allocations: 1.21 MB / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2402, allocations: 0 / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2402, allocations: 0 / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.2403, allocations: 0 / 0.6592 GB, free: 10.87 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.002795/0.243, allocations: 1.295 MB / 0.6605 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2431, allocations: 8.031 kB / 0.6605 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.2433, allocations: 110.6 kB / 0.6606 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.2435, allocations: 112.3 kB / 0.6607 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.2449, allocations: 0.66 MB / 0.6614 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.245, allocations: 49.31 kB / 0.6614 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2451, allocations: 60 kB / 0.6615 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.2463, allocations: 0.673 MB / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.2464, allocations: 0 / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.2466, allocations: 28 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.2466, allocations: 12 kB / 0.6622 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2478, allocations: 0.6336 MB / 0.6628 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004563/0.2523, allocations: 3.011 MB / 0.6657 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.2536, allocations: 0.6172 MB / 0.6663 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.2541, allocations: 254.6 kB / 0.6666 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002659/0.2567, allocations: 1.909 MB / 0.6684 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2568, allocations: 43.12 kB / 0.6685 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/0.2568, allocations: 0 / 0.6685 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01061/0.2674, allocations: 2.416 MB / 0.6708 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.2675, allocations: 97.53 kB / 0.6709 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2686, allocations: 0.5982 MB / 0.6715 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/0.2686, allocations: 37.7 kB / 0.6715 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.269, allocations: 388.9 kB / 0.6719 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.2692, allocations: 237.9 kB / 0.6721 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.2694, allocations: 118.3 kB / 0.6722 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2696, allocations: 326 kB / 0.6726 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.2701, allocations: 209.2 kB / 0.6728 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.2706, allocations: 298.8 kB / 0.673 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2716, allocations: 0.5276 MB / 0.6736 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2716, allocations: 4 kB / 0.6736 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005458/0.2771, allocations: 1.381 MB / 0.6749 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2771, allocations: 4 kB / 0.6749 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.2771, allocations: 4 kB / 0.6749 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005281/0.2824, allocations: 0.9313 MB / 0.6758 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.2829, allocations: 99.83 kB / 0.6759 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.286, allocations: 2.941 MB / 0.6788 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.2866, allocations: 55.59 kB / 0.6788 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.2866, allocations: 27.94 kB / 0.6789 GB, free: 5.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0003914/0.287, allocations: 209.7 kB / 0.6791 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.2872, allocations: 87.44 kB / 0.6792 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/0.2928, allocations: 1.47 MB / 0.6806 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.2928, allocations: 15.94 kB / 0.6806 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2928, allocations: 0 / 0.6806 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.2928, allocations: 4 kB / 0.6806 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.2993, allocations: 2.129 MB / 0.6827 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2993, allocations: 3.938 kB / 0.6827 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.2997, allocations: 75.89 kB / 0.6828 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005131/0.3048, allocations: 0.9313 MB / 0.6837 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.3049, allocations: 23.98 kB / 0.6837 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.3081, allocations: 2.949 MB / 0.6866 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3081, allocations: 0 / 0.6866 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/0.314, allocations: 1.757 MB / 0.6883 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.3145, allocations: 216.4 kB / 0.6885 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3146, allocations: 15.95 kB / 0.6885 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.315, allocations: 12 kB / 0.6885 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3151, allocations: 48.44 kB / 0.6886 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.3152, allocations: 23.98 kB / 0.6886 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008009/0.316, allocations: 431 kB / 0.689 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 0.689 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001034/0.317, allocations: 295.3 kB / 0.6893 GB, free: 10.69 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 (41): * Single equations (assignments): 38 * 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.007094/0.3241, allocations: 2.591 MB / 0.6918 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.3256, allocations: 0.6629 MB / 0.6925 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3256, allocations: 0 / 0.6925 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.3265, allocations: 421.7 kB / 0.6929 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.3279, allocations: 234.5 kB / 0.6931 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.3457, allocations: 7.262 MB / 0.7002 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.3464, allocations: 0.9581 MB / 0.7011 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005246/0.3469, allocations: 111.4 kB / 0.7012 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.3473, allocations: 303.3 kB / 0.7015 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.3473, allocations: 0 / 0.7015 GB, free: 13.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/0.4161, allocations: 24 MB / 0.7249 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.17, allocations: 6.75 kB / 0.725 GB, free: 6.188 MB / 0.5606 GB " [Timeout remaining time 644] (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: 20.335056964991963]