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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6966/0.6966, allocations: 94.61 MB / 399.1 MB, free: 15.74 MB / 334.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.0024/0.0024, allocations: 87.84 kB / 0.5444 GB, free: 12.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4869, allocations: 71.84 MB / 0.6145 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02114/0.508, allocations: 17.66 MB / 0.6318 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.5182, allocations: 6.873 MB / 0.6385 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.5192, allocations: 25.97 kB / 0.6385 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.5204, allocations: 282.1 kB / 0.6388 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.5227, allocations: 0.548 MB / 0.6393 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.5241, allocations: 358.3 kB / 0.6397 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.5256, allocations: 0.8135 MB / 0.6404 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.5259, allocations: 93.97 kB / 0.6405 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000791/0.5267, allocations: 360.8 kB / 0.6409 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.5271, allocations: 305.4 kB / 0.6412 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.5272, allocations: 39.47 kB / 0.6412 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5287, allocations: 361.2 kB / 0.6416 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.5288, allocations: 118.3 kB / 0.6417 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.5292, allocations: 297.9 kB / 0.642 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.5309, allocations: 0.8383 MB / 0.6428 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5309, allocations: 0 / 0.6428 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5309, allocations: 4 kB / 0.6428 GB, free: 32 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5309, allocations: 0 / 0.6428 GB, free: 32 kB / 478.1 MB 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.001828/0.5327, allocations: 0.9883 MB / 0.6437 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5328, allocations: 9.312 kB / 0.6438 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.5329, allocations: 81.28 kB / 0.6438 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.5331, allocations: 80.05 kB / 0.6439 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.534, allocations: 0.5288 MB / 0.6444 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.5341, allocations: 34.03 kB / 0.6445 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.5341, allocations: 51.52 kB / 0.6445 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.5349, allocations: 455.5 kB / 0.6449 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.535, allocations: 3.984 kB / 0.6449 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.535, allocations: 16.44 kB / 0.645 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.535, allocations: 9.906 kB / 0.645 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.5357, allocations: 406.1 kB / 0.6454 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.5387, allocations: 2.07 MB / 0.6474 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.5395, allocations: 390.2 kB / 0.6477 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.5399, allocations: 165.2 kB / 0.6479 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.5417, allocations: 1.408 MB / 0.6493 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.5417, allocations: 40.11 kB / 0.6493 GB, free: 10.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.5417, allocations: 1.125 kB / 0.6493 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.005934/0.5477, allocations: 1.451 MB / 0.6507 GB, free: 9.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.5477, allocations: 92.66 kB / 0.6508 GB, free: 9.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.5484, allocations: 475.4 kB / 0.6513 GB, free: 9.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.5484, allocations: 30.95 kB / 0.6513 GB, free: 9.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.5487, allocations: 299.3 kB / 0.6516 GB, free: 8.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.5488, allocations: 142.5 kB / 0.6517 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.549, allocations: 75.69 kB / 0.6518 GB, free: 8.762 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.5492, allocations: 367.2 kB / 0.6521 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.5495, allocations: 121.1 kB / 0.6523 GB, free: 8.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.5498, allocations: 189.4 kB / 0.6524 GB, free: 8.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.5505, allocations: 325.3 kB / 0.6528 GB, free: 8.031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5505, allocations: 0 / 0.6528 GB, free: 8.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002775/0.5532, allocations: 0.797 MB / 0.6535 GB, free: 7.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5533, allocations: 6.156 kB / 0.6535 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5533, allocations: 1.25 kB / 0.6535 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/0.5559, allocations: 499.6 kB / 0.654 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.5561, allocations: 65.38 kB / 0.6541 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.5583, allocations: 2.209 MB / 0.6562 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.5586, allocations: 40.58 kB / 0.6563 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.5587, allocations: 15.59 kB / 0.6563 GB, free: 5.246 MB / 494.1 MB 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.0003064/0.559, allocations: 164.7 kB / 0.6564 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.5591, allocations: 57.53 kB / 0.6565 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.5622, allocations: 0.8616 MB / 0.6573 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5622, allocations: 8.547 kB / 0.6574 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5622, allocations: 2.156 kB / 0.6574 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5622, allocations: 0 / 0.6574 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.5657, allocations: 1.37 MB / 0.6587 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.5657, allocations: 5.406 kB / 0.6587 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.5659, allocations: 41.58 kB / 0.6587 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002552/0.5685, allocations: 0.491 MB / 0.6592 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.5685, allocations: 12.12 kB / 0.6592 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.5708, allocations: 2.2 MB / 0.6614 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5708, allocations: 1.469 kB / 0.6614 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.5739, allocations: 1.1 MB / 0.6625 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.5743, allocations: 172.8 kB / 0.6626 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.5743, allocations: 7.344 kB / 0.6626 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.5746, allocations: 12.38 kB / 0.6626 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.5747, allocations: 33.8 kB / 0.6627 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.5747, allocations: 12.94 kB / 0.6627 GB, free: 440 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.5752, allocations: 347.7 kB / 0.663 GB, free: 228 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5752, allocations: 8 kB / 0.663 GB, free: 220 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008436/0.576, allocations: 191.5 kB / 0.6632 GB, free: 164 kB / 494.1 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 (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.004049/0.5801, allocations: 1.818 MB / 0.665 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.5812, allocations: 456.2 kB / 0.6654 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5812, allocations: 0 / 0.6654 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.5818, allocations: 304.1 kB / 0.6657 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.5828, allocations: 149.2 kB / 0.6658 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.5945, allocations: 5.175 MB / 0.6709 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.5951, allocations: 0.8668 MB / 0.6717 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.5955, allocations: 87 kB / 0.6718 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.5958, allocations: 207.4 kB / 0.672 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.5958, allocations: 0 / 0.672 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05394/0.6498, allocations: 16.66 MB / 0.6883 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/15.86, allocations: 2.656 kB / 0.6883 GB, free: 8.312 MB / 0.5137 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.666306612023618]