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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001983, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6633/0.6633, allocations: 91.21 MB / 381.6 MB, free: 9.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.75 kB / 460.4 MB, free: 23.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1135, allocations: 67.7 MB / 0.5157 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.018/0.1315, allocations: 17.33 MB / 0.5327 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.1384, allocations: 6.766 MB / 0.5393 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.139, allocations: 19.88 kB / 0.5393 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.1397, allocations: 290 kB / 0.5396 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.141, allocations: 0.5278 MB / 0.5401 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.1418, allocations: 358.7 kB / 0.5404 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007599/0.1425, allocations: 0.7815 MB / 0.5412 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1428, allocations: 149.7 kB / 0.5413 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.1433, allocations: 342.5 kB / 0.5416 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.1436, allocations: 294.5 kB / 0.5419 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.1437, allocations: 47.88 kB / 0.542 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.1446, allocations: 351.7 kB / 0.5423 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1447, allocations: 103.5 kB / 0.5424 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.1449, allocations: 306.2 kB / 0.5427 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.146, allocations: 0.806 MB / 0.5435 GB, free: 13.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.146, allocations: 0 / 0.5435 GB, free: 13.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.146, allocations: 0 / 0.5435 GB, free: 13.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.146, allocations: 0 / 0.5435 GB, free: 13.57 MB / 430.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.001456/0.1475, allocations: 0.9541 MB / 0.5444 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1475, allocations: 12.03 kB / 0.5444 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.882e-05/0.1476, allocations: 78.66 kB / 0.5445 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1478, allocations: 79.98 kB / 0.5446 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.1484, allocations: 487.4 kB / 0.545 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1484, allocations: 29 kB / 0.5451 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.1485, allocations: 40 kB / 0.5451 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.1491, allocations: 467.7 kB / 0.5456 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1492, allocations: 0 / 0.5456 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.1492, allocations: 19.98 kB / 0.5456 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1492, allocations: 8 kB / 0.5456 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.1498, allocations: 407.7 kB / 0.546 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1522, allocations: 2.068 MB / 0.548 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.1528, allocations: 413.2 kB / 0.5484 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1531, allocations: 185.7 kB / 0.5486 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.1546, allocations: 1.4 MB / 0.5499 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1546, allocations: 38.88 kB / 0.55 GB, free: 6.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.633e-06/0.1546, allocations: 0 / 0.55 GB, free: 6.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005843/0.1605, allocations: 1.463 MB / 0.5514 GB, free: 4.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1605, allocations: 81.11 kB / 0.5515 GB, free: 4.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.1611, allocations: 470.9 kB / 0.5519 GB, free: 4.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1611, allocations: 29.7 kB / 0.552 GB, free: 4.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1613, allocations: 288.3 kB / 0.5522 GB, free: 4.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1614, allocations: 137.9 kB / 0.5524 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1616, allocations: 78.16 kB / 0.5524 GB, free: 3.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1617, allocations: 366.8 kB / 0.5528 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.162, allocations: 124.8 kB / 0.5529 GB, free: 3.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1622, allocations: 181.8 kB / 0.5531 GB, free: 3.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.1628, allocations: 331 kB / 0.5534 GB, free: 2.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.1629, allocations: 4 kB / 0.5534 GB, free: 2.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002747/0.1656, allocations: 0.7988 MB / 0.5542 GB, free: 1.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1657, allocations: 4 kB / 0.5542 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1657, allocations: 4 kB / 0.5542 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.1684, allocations: 493.2 kB / 0.5547 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.1687, allocations: 67.91 kB / 0.5547 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.1705, allocations: 2.212 MB / 0.5569 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.1708, allocations: 39.53 kB / 0.5569 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.1708, allocations: 16 kB / 0.5569 GB, free: 14.96 MB / 446.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.0002803/0.1711, allocations: 167.3 kB / 0.5571 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1713, allocations: 55.34 kB / 0.5571 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.1741, allocations: 0.8607 MB / 0.558 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.1742, allocations: 4 kB / 0.558 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1742, allocations: 4 kB / 0.558 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1742, allocations: 4 kB / 0.558 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.1776, allocations: 1.383 MB / 0.5593 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1776, allocations: 0 / 0.5593 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.1778, allocations: 43.98 kB / 0.5594 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.1804, allocations: 497.3 kB / 0.5599 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.1804, allocations: 11.94 kB / 0.5599 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.1821, allocations: 2.201 MB / 0.562 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1821, allocations: 0 / 0.562 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.1852, allocations: 1.09 MB / 0.5631 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.1854, allocations: 168.2 kB / 0.5632 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.347e-05/0.1855, allocations: 15.94 kB / 0.5633 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1857, allocations: 8 kB / 0.5633 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.1858, allocations: 27.95 kB / 0.5633 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.1859, allocations: 24 kB / 0.5633 GB, free: 8.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.1862, allocations: 342.8 kB / 0.5636 GB, free: 7.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1863, allocations: 0 / 0.5636 GB, free: 7.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006595/0.1869, allocations: 191.7 kB / 0.5638 GB, free: 7.59 MB / 446.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.003639/0.1906, allocations: 1.811 MB / 0.5656 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1917, allocations: 0.4905 MB / 0.5661 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1917, allocations: 4 kB / 0.5661 GB, free: 5.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.1922, allocations: 314.7 kB / 0.5664 GB, free: 4.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.1934, allocations: 159.3 kB / 0.5665 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.2047, allocations: 5.245 MB / 0.5717 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.2052, allocations: 0.859 MB / 0.5725 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.2055, allocations: 79.47 kB / 0.5726 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.2058, allocations: 211.4 kB / 0.5728 GB, free: 14.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2058, allocations: 0 / 0.5728 GB, free: 14.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2458/0.4516, allocations: 16.13 MB / 0.5885 GB, free: 72.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.4, allocations: 7.328 kB / 0.5885 GB, free: 72.18 MB / 462.1 MB (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) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches