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.0009754/0.0009754, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001122/0.001122, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9259/0.9259, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.6591/0.6591, allocations: 116 MB / 375.2 MB, free: 4.16 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.198e-05, allocations: 10.22 kB / 0.5532 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01161/0.01163, allocations: 17.13 MB / 0.57 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.01558, allocations: 5.434 MB / 0.5753 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.01596, allocations: 39.62 kB / 0.5753 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.01649, allocations: 266 kB / 0.5756 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.0175, allocations: 0.605 MB / 0.5762 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.01809, allocations: 382.1 kB / 0.5765 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008182/0.01891, allocations: 0.9092 MB / 0.5774 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.0191, allocations: 94.09 kB / 0.5775 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006123/0.01971, allocations: 0.5025 MB / 0.578 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.01993, allocations: 235.2 kB / 0.5782 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.01998, allocations: 40 kB / 0.5783 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.02051, allocations: 339.3 kB / 0.5786 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.0206, allocations: 115.4 kB / 0.5787 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.02075, allocations: 203.4 kB / 0.5789 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008601/0.02161, allocations: 0.8604 MB / 0.5797 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.02161, allocations: 4 kB / 0.5797 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.02161, allocations: 4 kB / 0.5797 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.02162, allocations: 0 / 0.5797 GB, free: 2.094 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001105/0.02273, allocations: 0.9323 MB / 0.5806 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.02277, allocations: 12.03 kB / 0.5807 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.747e-05/0.02283, allocations: 90.64 kB / 0.5807 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.023, allocations: 80.47 kB / 0.5808 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.02364, allocations: 489.3 kB / 0.5813 GB, free: 448 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.02366, allocations: 33.31 kB / 0.5813 GB, free: 412 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.02372, allocations: 47.94 kB / 0.5814 GB, free: 364 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.02422, allocations: 468.7 kB / 0.5818 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.02424, allocations: 3.953 kB / 0.5818 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.02426, allocations: 16 kB / 0.5818 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.02427, allocations: 8 kB / 0.5818 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.02471, allocations: 419.7 kB / 0.5822 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.02632, allocations: 1.563 MB / 0.5838 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.02677, allocations: 349.3 kB / 0.5841 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.02694, allocations: 161.1 kB / 0.5843 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000789/0.02773, allocations: 0.7216 MB / 0.585 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.02775, allocations: 46.44 kB / 0.585 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.02775, allocations: 0 / 0.585 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.001288/0.02904, allocations: 0.6555 MB / 0.5856 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.02907, allocations: 81.11 kB / 0.5857 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.02945, allocations: 0.5108 MB / 0.5862 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.02946, allocations: 29.7 kB / 0.5862 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.02961, allocations: 316.5 kB / 0.5865 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.02968, allocations: 130.8 kB / 0.5867 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.02975, allocations: 78.14 kB / 0.5867 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.02985, allocations: 374.7 kB / 0.5871 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.02998, allocations: 105 kB / 0.5872 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.03014, allocations: 194.4 kB / 0.5874 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.03046, allocations: 313.3 kB / 0.5877 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.03047, allocations: 8 kB / 0.5877 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005738/0.03104, allocations: 0.4982 MB / 0.5882 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.03105, allocations: 8.312 kB / 0.5882 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.03106, allocations: 4 kB / 0.5882 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.03158, allocations: 177.5 kB / 0.5884 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.03173, allocations: 75.89 kB / 0.5884 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.0328, allocations: 2.004 MB / 0.5904 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.03294, allocations: 47.8 kB / 0.5904 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.03296, allocations: 16 kB / 0.5905 GB, free: 6.605 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (42): * Single equations (assignments): 40 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.03319, allocations: 174.4 kB / 0.5906 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.03325, allocations: 71.52 kB / 0.5907 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.03382, allocations: 0.4912 MB / 0.5912 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.03382, allocations: 8 kB / 0.5912 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.03382, allocations: 7.938 kB / 0.5912 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.03383, allocations: 0 / 0.5912 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.03484, allocations: 0.9334 MB / 0.5921 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.03485, allocations: 8.062 kB / 0.5921 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.03496, allocations: 43.98 kB / 0.5921 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.0354, allocations: 177.6 kB / 0.5923 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.03542, allocations: 15.98 kB / 0.5923 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009312/0.03635, allocations: 2.008 MB / 0.5943 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.03635, allocations: 4.062 kB / 0.5943 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.03708, allocations: 0.7121 MB / 0.595 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.03718, allocations: 91.5 kB / 0.5951 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.03722, allocations: 15.98 kB / 0.5951 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.03736, allocations: 12.06 kB / 0.5951 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.03741, allocations: 31.83 kB / 0.5951 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.03742, allocations: 15.98 kB / 0.5952 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002673/0.03769, allocations: 375.1 kB / 0.5955 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03769, allocations: 0 / 0.5955 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003847/0.03807, allocations: 195.6 kB / 0.5957 GB, free: 0.9766 MB / 0.5105 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.03918, allocations: 1.439 MB / 0.5971 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005873/0.03977, allocations: 426.5 kB / 0.5975 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.03977, allocations: 4 kB / 0.5975 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.04002, allocations: 274.4 kB / 0.5978 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.04064, allocations: 208.9 kB / 0.598 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.04465, allocations: 4.58 MB / 0.6024 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.04487, allocations: 275.9 kB / 0.6027 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.04511, allocations: 83.12 kB / 0.6028 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.04533, allocations: 224.4 kB / 0.603 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/0.04533, allocations: 0 / 0.603 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.07885, allocations: 17.96 MB / 0.6205 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/8.826, allocations: 11.66 kB / 0.6205 GB, free: 7.625 MB / 0.5417 GB " [Timeout remaining time 651] (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/jenkins/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: 11.554892263375223]