Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001432/0.001432, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.002117/0.002117, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.8652/0.8652, allocations: 100.3 MB / 412.7 MB, free: 3.676 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_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.00268/0.00268, allocations: 84.62 kB / 0.5633 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1801, allocations: 74.46 MB / 0.636 GB, free: 7.672 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02565/0.2057, allocations: 17.72 MB / 0.6533 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.218, allocations: 6.868 MB / 0.66 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008885/0.2189, allocations: 35.69 kB / 0.66 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.22, allocations: 290 kB / 0.6603 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.2221, allocations: 0.5512 MB / 0.6608 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2235, allocations: 370.7 kB / 0.6612 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.225, allocations: 0.8088 MB / 0.662 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.2253, allocations: 98.05 kB / 0.6621 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.226, allocations: 374.3 kB / 0.6624 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.2264, allocations: 306.4 kB / 0.6627 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.2265, allocations: 47.94 kB / 0.6628 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2278, allocations: 363.6 kB / 0.6631 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.2279, allocations: 107.5 kB / 0.6632 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.2283, allocations: 302.2 kB / 0.6635 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.23, allocations: 0.8365 MB / 0.6643 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.23, allocations: 0 / 0.6643 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.23, allocations: 0 / 0.6643 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.23, allocations: 0 / 0.6643 GB, free: 10.52 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002059/0.2321, allocations: 0.9245 MB / 0.6652 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2321, allocations: 12.03 kB / 0.6652 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.336e-05/0.2322, allocations: 74.72 kB / 0.6653 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.2324, allocations: 76.47 kB / 0.6654 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.2335, allocations: 465.9 kB / 0.6658 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.2335, allocations: 29 kB / 0.6658 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.2336, allocations: 44 kB / 0.6659 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.2345, allocations: 471.8 kB / 0.6663 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2345, allocations: 0 / 0.6663 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.2345, allocations: 16 kB / 0.6664 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2345, allocations: 8 kB / 0.6664 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.2352, allocations: 419.7 kB / 0.6668 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.2385, allocations: 2.03 MB / 0.6687 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.2394, allocations: 394.3 kB / 0.6691 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2397, allocations: 165.7 kB / 0.6693 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.2411, allocations: 0.7772 MB / 0.67 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.2411, allocations: 38.89 kB / 0.6701 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.2411, allocations: 0 / 0.6701 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006103/0.2472, allocations: 1.309 MB / 0.6714 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.2473, allocations: 85.05 kB / 0.6714 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.248, allocations: 482.9 kB / 0.6719 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.2481, allocations: 33.7 kB / 0.6719 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2483, allocations: 292.7 kB / 0.6722 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2484, allocations: 150.7 kB / 0.6723 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2486, allocations: 74.12 kB / 0.6724 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.2488, allocations: 370.8 kB / 0.6728 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.2491, allocations: 124.8 kB / 0.6729 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.2494, allocations: 185.8 kB / 0.6731 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.25, allocations: 339.8 kB / 0.6734 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.25, allocations: 0 / 0.6734 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003012/0.253, allocations: 0.8069 MB / 0.6742 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.253, allocations: 8 kB / 0.6742 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.253, allocations: 0 / 0.6742 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/0.2559, allocations: 497.1 kB / 0.6747 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.2563, allocations: 71.91 kB / 0.6747 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.2585, allocations: 2.113 MB / 0.6768 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.2588, allocations: 35.7 kB / 0.6768 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.2589, allocations: 16 kB / 0.6768 GB, free: 13.12 MB / 0.5137 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.000267/0.2591, allocations: 169.8 kB / 0.677 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2593, allocations: 63.58 kB / 0.6771 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/0.2624, allocations: 0.8547 MB / 0.6779 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2624, allocations: 4 kB / 0.6779 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2625, allocations: 4 kB / 0.6779 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2625, allocations: 3.984 kB / 0.6779 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.2664, allocations: 1.351 MB / 0.6792 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2664, allocations: 0 / 0.6792 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.2666, allocations: 47.97 kB / 0.6793 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.2693, allocations: 0.4933 MB / 0.6798 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.2693, allocations: 11.98 kB / 0.6798 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.2717, allocations: 2.098 MB / 0.6818 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.2717, allocations: 0 / 0.6818 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/0.2751, allocations: 1.111 MB / 0.6829 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2753, allocations: 95.44 kB / 0.683 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.2754, allocations: 8 kB / 0.683 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.2756, allocations: 24.05 kB / 0.683 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.2757, allocations: 27.95 kB / 0.6831 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.2758, allocations: 15.92 kB / 0.6831 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004449/0.2762, allocations: 342.9 kB / 0.6834 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2762, allocations: 4 kB / 0.6834 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007415/0.2769, allocations: 187.6 kB / 0.6836 GB, free: 5.945 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.004171/0.2811, allocations: 1.834 MB / 0.6854 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.2822, allocations: 461.6 kB / 0.6858 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2822, allocations: 320 / 0.6858 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.2828, allocations: 302.5 kB / 0.6861 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.2837, allocations: 157 kB / 0.6862 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.2958, allocations: 5.187 MB / 0.6913 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.2965, allocations: 0.8705 MB / 0.6922 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.2968, allocations: 81.39 kB / 0.6922 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.2971, allocations: 203.4 kB / 0.6924 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.2971, allocations: 4 kB / 0.6924 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.3627, allocations: 16.94 MB / 0.709 GB, free: 11.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/16.67, allocations: 8.062 kB / 0.709 GB, free: 11.93 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.894849090000207]