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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, 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.001396/0.001396, allocations: 193.9 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.797/0.797, allocations: 93.72 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 77.91 kB / 463.5 MB, free: 22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1555, allocations: 68.27 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02266/0.1782, allocations: 17.33 MB / 0.5362 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009973/0.1882, allocations: 6.785 MB / 0.5429 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008794/0.1891, allocations: 23.88 kB / 0.5429 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.1901, allocations: 290 kB / 0.5432 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1919, allocations: 0.5278 MB / 0.5437 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.193, allocations: 362.7 kB / 0.544 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.1942, allocations: 0.8049 MB / 0.5448 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.1945, allocations: 153.7 kB / 0.5449 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.1951, allocations: 350.4 kB / 0.5453 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.1956, allocations: 298.5 kB / 0.5456 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1957, allocations: 40 kB / 0.5456 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009716/0.1967, allocations: 355.6 kB / 0.5459 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1969, allocations: 119.4 kB / 0.5461 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.1972, allocations: 294.2 kB / 0.5463 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1984, allocations: 0.8099 MB / 0.5471 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1984, allocations: 0 / 0.5471 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1984, allocations: 4 kB / 0.5471 GB, free: 10.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1984, allocations: 0 / 0.5471 GB, free: 10.3 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.002159/0.2006, allocations: 0.9657 MB / 0.5481 GB, free: 9.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.2007, allocations: 8.031 kB / 0.5481 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.2008, allocations: 78.72 kB / 0.5482 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.201, allocations: 76.08 kB / 0.5482 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.2018, allocations: 0.4953 MB / 0.5487 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.2019, allocations: 29 kB / 0.5487 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.2019, allocations: 40 kB / 0.5488 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.2029, allocations: 455.9 kB / 0.5492 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2029, allocations: 3.938 kB / 0.5492 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.2029, allocations: 16 kB / 0.5492 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.203, allocations: 19.94 kB / 0.5493 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.2037, allocations: 403.8 kB / 0.5496 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.2069, allocations: 2.072 MB / 0.5517 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.2077, allocations: 413.2 kB / 0.5521 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.208, allocations: 186.3 kB / 0.5522 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/0.21, allocations: 1.403 MB / 0.5536 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2101, allocations: 42.89 kB / 0.5536 GB, free: 3.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.693e-06/0.2101, allocations: 0 / 0.5536 GB, free: 3.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006252/0.2163, allocations: 1.463 MB / 0.5551 GB, free: 1.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.2164, allocations: 85.14 kB / 0.5552 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.217, allocations: 478.9 kB / 0.5556 GB, free: 1.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.2171, allocations: 33.7 kB / 0.5556 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.2173, allocations: 292.3 kB / 0.5559 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2175, allocations: 134 kB / 0.5561 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.2176, allocations: 74.12 kB / 0.5561 GB, free: 496 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2178, allocations: 362.8 kB / 0.5565 GB, free: 124 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.2181, allocations: 132.9 kB / 0.5566 GB, free: 15.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.2184, allocations: 185.8 kB / 0.5568 GB, free: 15.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.219, allocations: 335 kB / 0.5571 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.219, allocations: 0 / 0.5571 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002848/0.2219, allocations: 0.7987 MB / 0.5579 GB, free: 14.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.2219, allocations: 8 kB / 0.5579 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2219, allocations: 0 / 0.5579 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.2248, allocations: 0.4895 MB / 0.5584 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.225, allocations: 63.91 kB / 0.5584 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.2276, allocations: 2.189 MB / 0.5606 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.2278, allocations: 35.64 kB / 0.5606 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.2279, allocations: 16.14 kB / 0.5606 GB, free: 11.65 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.0002477/0.2281, allocations: 175.4 kB / 0.5608 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2283, allocations: 59.25 kB / 0.5608 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/0.2314, allocations: 0.8741 MB / 0.5617 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2314, allocations: 4 kB / 0.5617 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2314, allocations: 0 / 0.5617 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.2315, allocations: 3.984 kB / 0.5617 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.2355, allocations: 1.371 MB / 0.563 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2355, allocations: 3.984 kB / 0.563 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.2357, allocations: 43.92 kB / 0.5631 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.2385, allocations: 0.4933 MB / 0.5636 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.2386, allocations: 12 kB / 0.5636 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.2409, allocations: 2.189 MB / 0.5657 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2409, allocations: 8 kB / 0.5657 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.2442, allocations: 1.098 MB / 0.5668 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.2445, allocations: 172.3 kB / 0.5669 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.2445, allocations: 12 kB / 0.567 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2448, allocations: 8 kB / 0.567 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.2449, allocations: 27.95 kB / 0.567 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.2449, allocations: 19.94 kB / 0.567 GB, free: 4.773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004392/0.2454, allocations: 346.8 kB / 0.5673 GB, free: 4.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2454, allocations: 0 / 0.5673 GB, free: 4.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007049/0.2461, allocations: 191.7 kB / 0.5675 GB, free: 4.25 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.003962/0.2501, allocations: 1.825 MB / 0.5693 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.2511, allocations: 486.9 kB / 0.5698 GB, free: 1.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2511, allocations: 4 kB / 0.5698 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.2517, allocations: 314.1 kB / 0.5701 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.2527, allocations: 169.4 kB / 0.5702 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.2635, allocations: 5.273 MB / 0.5754 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.2641, allocations: 0.8668 MB / 0.5762 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.2645, allocations: 84.2 kB / 0.5763 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.2648, allocations: 207.4 kB / 0.5765 GB, free: 10.83 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2648, allocations: 0 / 0.5765 GB, free: 10.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/0.5835, allocations: 16.27 MB / 0.5924 GB, free: 69.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.58, allocations: 6.109 kB / 0.5924 GB, free: 69.34 MB / 462.1 MB (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) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches