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.00116/0.00116, allocations: 76.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.001612/0.001612, allocations: 173.2 kB / 22.46 MB, free: 2.102 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.018/1.018, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.57/0.57, allocations: 80.18 MB / 339.4 MB, free: 7.535 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_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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.4924 GB, free: 6.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.393e-05, allocations: 6.219 kB / 0.4924 GB, free: 6.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01654/0.01656, allocations: 22.17 MB / 0.514 GB, free: 2.242 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007099/0.02366, allocations: 7.881 MB / 0.5217 GB, free: 10.34 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009797/0.02464, allocations: 43.62 kB / 0.5218 GB, free: 10.29 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.02553, allocations: 381 kB / 0.5221 GB, free: 9.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.02807, allocations: 0.8882 MB / 0.523 GB, free: 9.023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.02914, allocations: 490 kB / 0.5235 GB, free: 8.543 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.03054, allocations: 1.284 MB / 0.5247 GB, free: 7.254 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.03085, allocations: 136 kB / 0.5248 GB, free: 7.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.03198, allocations: 0.6933 MB / 0.5255 GB, free: 6.414 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.03246, allocations: 342.9 kB / 0.5258 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/0.03254, allocations: 63.94 kB / 0.5259 GB, free: 6.016 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.03387, allocations: 487.1 kB / 0.5264 GB, free: 5.539 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.03401, allocations: 167.1 kB / 0.5265 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.03428, allocations: 299.2 kB / 0.5268 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.03606, allocations: 1.223 MB / 0.528 GB, free: 3.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.03607, allocations: 0 / 0.528 GB, free: 3.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.03607, allocations: 0 / 0.528 GB, free: 3.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.136e-05/0.03611, allocations: 0 / 0.528 GB, free: 3.855 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.00219/0.0383, allocations: 1.228 MB / 0.5292 GB, free: 2.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.03835, allocations: 13.47 kB / 0.5292 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.03846, allocations: 102.7 kB / 0.5293 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.03875, allocations: 124.2 kB / 0.5294 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009609/0.03971, allocations: 0.5836 MB / 0.53 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.03974, allocations: 49.44 kB / 0.5301 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.03981, allocations: 71.89 kB / 0.5301 GB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.04083, allocations: 0.6817 MB / 0.5308 GB, free: 0.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.04085, allocations: 0 / 0.5308 GB, free: 0.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.04089, allocations: 27.98 kB / 0.5308 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.0409, allocations: 19.98 kB / 0.5308 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.04166, allocations: 0.6414 MB / 0.5315 GB, free: 236 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.04424, allocations: 2.227 MB / 0.5336 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/0.04499, allocations: 0.6185 MB / 0.5342 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.04526, allocations: 259.6 kB / 0.5345 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.04626, allocations: 0.7756 MB / 0.5352 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.04629, allocations: 43.22 kB / 0.5353 GB, free: 12.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.04629, allocations: 0 / 0.5353 GB, free: 12.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.004912/0.0512, allocations: 2.259 MB / 0.5375 GB, free: 9.902 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.05125, allocations: 81.77 kB / 0.5376 GB, free: 9.805 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.05181, allocations: 0.6177 MB / 0.5382 GB, free: 9.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.05185, allocations: 37.7 kB / 0.5382 GB, free: 9.137 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.05206, allocations: 400.8 kB / 0.5386 GB, free: 8.738 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.05219, allocations: 237.9 kB / 0.5388 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.05231, allocations: 114.6 kB / 0.5389 GB, free: 8.383 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.05239, allocations: 334 kB / 0.5392 GB, free: 8.051 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.05263, allocations: 209.9 kB / 0.5394 GB, free: 7.848 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.05293, allocations: 324 kB / 0.5398 GB, free: 7.496 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.05348, allocations: 0.5453 MB / 0.5403 GB, free: 6.918 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.05348, allocations: 4 kB / 0.5403 GB, free: 6.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00245/0.05593, allocations: 1.397 MB / 0.5417 GB, free: 5.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.05596, allocations: 7.938 kB / 0.5417 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.05597, allocations: 4 kB / 0.5417 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.05831, allocations: 0.9391 MB / 0.5426 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.05858, allocations: 107.8 kB / 0.5427 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.06045, allocations: 2.83 MB / 0.5455 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.06081, allocations: 55.52 kB / 0.5455 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.06086, allocations: 32.17 kB / 0.5455 GB, free: 1.355 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (57): * Single equations (assignments): 54 * 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.0002821/0.06114, allocations: 205.7 kB / 0.5457 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.06127, allocations: 79.48 kB / 0.5458 GB, free: 1.066 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.06395, allocations: 1.482 MB / 0.5473 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.06396, allocations: 8 kB / 0.5473 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.06397, allocations: 0 / 0.5473 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.06398, allocations: 7.922 kB / 0.5473 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.06728, allocations: 2.04 MB / 0.5493 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.06728, allocations: 0 / 0.5493 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.06748, allocations: 72.09 kB / 0.5493 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.06975, allocations: 0.943 MB / 0.5503 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.0698, allocations: 12 kB / 0.5503 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.07155, allocations: 2.83 MB / 0.553 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.07156, allocations: 7.969 kB / 0.553 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.07444, allocations: 1.767 MB / 0.5548 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.07476, allocations: 143.3 kB / 0.5549 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.07482, allocations: 15.98 kB / 0.5549 GB, free: 7.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.07503, allocations: 12 kB / 0.5549 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.07513, allocations: 48.75 kB / 0.555 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.07516, allocations: 24 kB / 0.555 GB, free: 7.367 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004363/0.0756, allocations: 443 kB / 0.5554 GB, free: 6.941 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0756, allocations: 0 / 0.5554 GB, free: 6.941 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007676/0.07637, allocations: 299.3 kB / 0.5557 GB, free: 6.648 MB / 474.7 MB 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.00351/0.07988, allocations: 2.593 MB / 0.5582 GB, free: 4.016 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.08089, allocations: 0.6679 MB / 0.5589 GB, free: 3.332 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.0809, allocations: 3.938 kB / 0.5589 GB, free: 3.328 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.08137, allocations: 427 kB / 0.5593 GB, free: 2.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.08238, allocations: 303 kB / 0.5596 GB, free: 2.613 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.09256, allocations: 7.284 MB / 0.5667 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.09286, allocations: 366.2 kB / 0.567 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.09323, allocations: 120.1 kB / 0.5672 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.0935, allocations: 320.4 kB / 0.5675 GB, free: 10.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.894e-06/0.0935, allocations: 0 / 0.5675 GB, free: 10.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.1392, allocations: 26.15 MB / 0.593 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.428/9.567, allocations: 7.469 kB / 0.593 GB, free: 0.5508 MB / 0.4948 GB " [Timeout remaining time 650] (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/jenkins/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: 12.50182244554162]