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.0008801/0.0008801, 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.001401/0.001401, 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 1.025/1.025, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6356/0.6356, allocations: 80.18 MB / 339.4 MB, free: 7.547 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 1.031 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.431e-05, allocations: 4.531 kB / 0.4924 GB, free: 6.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01798/0.01801, allocations: 17.11 MB / 0.5091 GB, free: 7.309 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004708/0.02271, allocations: 5.422 MB / 0.5144 GB, free: 1.871 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.02308, allocations: 35.69 kB / 0.5144 GB, free: 1.836 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.02363, allocations: 261.9 kB / 0.5147 GB, free: 1.578 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.02464, allocations: 0.5934 MB / 0.5152 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.02509, allocations: 370.5 kB / 0.5156 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.02572, allocations: 0.9032 MB / 0.5165 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.0259, allocations: 98.03 kB / 0.5166 GB, free: 15.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.02658, allocations: 0.4907 MB / 0.517 GB, free: 15.12 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.02686, allocations: 235.2 kB / 0.5173 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.02692, allocations: 40 kB / 0.5173 GB, free: 14.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.0274, allocations: 343.3 kB / 0.5176 GB, free: 14.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.0275, allocations: 115.4 kB / 0.5177 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.02765, allocations: 199.5 kB / 0.5179 GB, free: 14.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008866/0.02853, allocations: 0.8487 MB / 0.5188 GB, free: 13.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.02854, allocations: 0 / 0.5188 GB, free: 13.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02854, allocations: 0 / 0.5188 GB, free: 13.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.02855, allocations: 0 / 0.5188 GB, free: 13.35 MB / 442.7 MB 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.001062/0.02961, allocations: 0.9246 MB / 0.5197 GB, free: 12.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.02967, allocations: 13.45 kB / 0.5197 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.02979, allocations: 78.72 kB / 0.5198 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.02994, allocations: 84.45 kB / 0.5198 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.03055, allocations: 473.3 kB / 0.5203 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.03057, allocations: 33.38 kB / 0.5203 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.03065, allocations: 51.88 kB / 0.5204 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.0312, allocations: 468.7 kB / 0.5208 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.03122, allocations: 4 kB / 0.5208 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.03124, allocations: 16 kB / 0.5208 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.03125, allocations: 12 kB / 0.5208 GB, free: 11.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.0317, allocations: 415.7 kB / 0.5212 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.03369, allocations: 1.575 MB / 0.5228 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.03418, allocations: 386 kB / 0.5232 GB, free: 8.691 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.03436, allocations: 169.4 kB / 0.5233 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.03501, allocations: 0.6012 MB / 0.5239 GB, free: 7.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.03504, allocations: 42.83 kB / 0.5239 GB, free: 7.844 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 1.262e-06/0.03504, allocations: 0 / 0.5239 GB, free: 7.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.002852/0.03789, allocations: 1.302 MB / 0.5252 GB, free: 6.531 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.03794, allocations: 96.86 kB / 0.5253 GB, free: 6.418 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.03834, allocations: 487.1 kB / 0.5258 GB, free: 5.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.03836, allocations: 33.7 kB / 0.5258 GB, free: 5.891 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.0385, allocations: 308.6 kB / 0.5261 GB, free: 5.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/0.03858, allocations: 142.8 kB / 0.5262 GB, free: 5.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.03866, allocations: 70.2 kB / 0.5263 GB, free: 5.363 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.03878, allocations: 374.8 kB / 0.5267 GB, free: 4.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.03895, allocations: 128.9 kB / 0.5268 GB, free: 4.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.03915, allocations: 203.8 kB / 0.527 GB, free: 4.641 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.03951, allocations: 346.6 kB / 0.5273 GB, free: 4.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.03951, allocations: 0 / 0.5273 GB, free: 4.277 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001376/0.04089, allocations: 0.8107 MB / 0.5281 GB, free: 3.453 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.04091, allocations: 8 kB / 0.5281 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.04092, allocations: 3.984 kB / 0.5281 GB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.04234, allocations: 0.4895 MB / 0.5286 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.04248, allocations: 67.91 kB / 0.5286 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.04374, allocations: 2.086 MB / 0.5307 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.04387, allocations: 39.77 kB / 0.5307 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.04389, allocations: 20.12 kB / 0.5307 GB, free: 0.5977 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (37): * Single equations (assignments): 35 * 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.0001494/0.04404, allocations: 178.3 kB / 0.5309 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.0441, allocations: 59.62 kB / 0.531 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.04557, allocations: 0.847 MB / 0.5318 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.04557, allocations: 4 kB / 0.5318 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.04557, allocations: 4 kB / 0.5318 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.04558, allocations: 3.984 kB / 0.5318 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.04733, allocations: 1.292 MB / 0.5331 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.04733, allocations: 0 / 0.5331 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.04747, allocations: 47.92 kB / 0.5331 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.04858, allocations: 497.3 kB / 0.5336 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.0486, allocations: 12 kB / 0.5336 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.04985, allocations: 2.094 MB / 0.5356 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.04985, allocations: 0 / 0.5356 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.05143, allocations: 1.091 MB / 0.5367 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.05156, allocations: 91.55 kB / 0.5368 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.05159, allocations: 12 kB / 0.5368 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.05172, allocations: 15.98 kB / 0.5368 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.05178, allocations: 23.95 kB / 0.5368 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.05179, allocations: 15.98 kB / 0.5369 GB, free: 10.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.05204, allocations: 350.8 kB / 0.5372 GB, free: 9.723 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05204, allocations: 0 / 0.5372 GB, free: 9.723 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.05244, allocations: 191.7 kB / 0.5374 GB, free: 9.535 MB / 458.7 MB 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.002026/0.05446, allocations: 1.834 MB / 0.5392 GB, free: 7.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.05504, allocations: 459 kB / 0.5396 GB, free: 7.199 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.05505, allocations: 0 / 0.5396 GB, free: 7.199 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.0553, allocations: 310.5 kB / 0.5399 GB, free: 6.883 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.05603, allocations: 226.5 kB / 0.5401 GB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/0.06226, allocations: 5.177 MB / 0.5452 GB, free: 1.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.06244, allocations: 272.1 kB / 0.5454 GB, free: 1.043 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.06262, allocations: 89.98 kB / 0.5455 GB, free: 0.957 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.06288, allocations: 216.4 kB / 0.5457 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.06288, allocations: 0 / 0.5457 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.09888, allocations: 18.57 MB / 0.5639 GB, free: 14.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/9.535, allocations: 3.984 kB / 0.5639 GB, free: 14.48 MB / 490.7 MB " [Timeout remaining time 650] (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/jenkins/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: 12.499368398450315]