Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",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.001478/0.001479, allocations: 108 kB / 15.61 MB, free: 148 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.002008/0.002008, allocations: 194.4 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6516/0.6516, allocations: 91.19 MB / 381.6 MB, free: 9.453 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 77.72 kB / 460.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 67.7 MB / 0.5157 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03699/0.1488, allocations: 39.35 MB / 0.5542 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1593, allocations: 8.67 MB / 0.5626 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1604, allocations: 31.81 kB / 0.5626 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.1618, allocations: 0.5238 MB / 0.5632 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.1652, allocations: 1.301 MB / 0.5644 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.1675, allocations: 0.8904 MB / 0.5653 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1697, allocations: 1.961 MB / 0.5672 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.1702, allocations: 268.1 kB / 0.5675 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.1723, allocations: 1.109 MB / 0.5686 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1734, allocations: 0.7233 MB / 0.5693 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.1737, allocations: 99.94 kB / 0.5694 GB, free: 3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.176, allocations: 0.8583 MB / 0.5702 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.1763, allocations: 258.9 kB / 0.5704 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007746/0.1771, allocations: 0.6294 MB / 0.5711 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.1799, allocations: 1.78 MB / 0.5728 GB, free: 15.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1799, allocations: 0 / 0.5728 GB, free: 15.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1799, allocations: 0 / 0.5728 GB, free: 15.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.1799, allocations: 0 / 0.5728 GB, free: 15.47 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003404/0.1834, allocations: 1.655 MB / 0.5744 GB, free: 13.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1834, allocations: 8.031 kB / 0.5744 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.1836, allocations: 131.4 kB / 0.5745 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.184, allocations: 147.3 kB / 0.5747 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1852, allocations: 0.7728 MB / 0.5754 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.1853, allocations: 91.7 kB / 0.5755 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.1855, allocations: 91.91 kB / 0.5756 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.1871, allocations: 0.9956 MB / 0.5766 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1872, allocations: 7.938 kB / 0.5766 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.1873, allocations: 36 kB / 0.5766 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1873, allocations: 20 kB / 0.5766 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.189, allocations: 0.8939 MB / 0.5775 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005924/0.1949, allocations: 4.612 MB / 0.582 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.197, allocations: 1.012 MB / 0.583 GB, free: 4.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/0.1977, allocations: 470.2 kB / 0.5835 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003701/0.2015, allocations: 2.987 MB / 0.5864 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.2015, allocations: 50.94 kB / 0.5864 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.926e-06/0.2015, allocations: 0 / 0.5864 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.2396/0.4412, allocations: 4.251 MB / 0.5906 GB, free: 72.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.4412, allocations: 90.28 kB / 0.5907 GB, free: 72.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.4423, allocations: 0.7535 MB / 0.5914 GB, free: 71.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.4424, allocations: 47.88 kB / 0.5914 GB, free: 71.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.4427, allocations: 473 kB / 0.5919 GB, free: 71.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.4429, allocations: 388.9 kB / 0.5923 GB, free: 70.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.4432, allocations: 185.2 kB / 0.5924 GB, free: 70.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.4433, allocations: 348.4 kB / 0.5928 GB, free: 70.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.4441, allocations: 383.9 kB / 0.5931 GB, free: 70.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009363/0.4451, allocations: 0.543 MB / 0.5937 GB, free: 70.12 MB / 462.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.4471, allocations: 1.058 MB / 0.5947 GB, free: 69.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4471, allocations: 2.094 kB / 0.5947 GB, free: 69.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003133/0.4503, allocations: 1.461 MB / 0.5961 GB, free: 68.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4503, allocations: 7.156 kB / 0.5961 GB, free: 68.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4503, allocations: 5 kB / 0.5961 GB, free: 68.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.4514, allocations: 342.8 kB / 0.5965 GB, free: 68.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.4521, allocations: 197.5 kB / 0.5967 GB, free: 68.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007252/0.4594, allocations: 12.61 MB / 0.609 GB, free: 56.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.4603, allocations: 42.02 kB / 0.609 GB, free: 56.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.4604, allocations: 44.59 kB / 0.6091 GB, free: 56.48 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004883/0.4609, allocations: 261.2 kB / 0.6093 GB, free: 56.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.4613, allocations: 110.1 kB / 0.6094 GB, free: 56.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.4647, allocations: 1.603 MB / 0.611 GB, free: 55.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4647, allocations: 12.41 kB / 0.611 GB, free: 55.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4647, allocations: 7.812 kB / 0.611 GB, free: 55.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.4647, allocations: 5.672 kB / 0.611 GB, free: 55.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004866/0.4696, allocations: 2.716 MB / 0.6137 GB, free: 54.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.4697, allocations: 2.188 kB / 0.6137 GB, free: 54.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.4704, allocations: 181 kB / 0.6138 GB, free: 54.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.4715, allocations: 358.8 kB / 0.6142 GB, free: 54.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/0.4716, allocations: 39.72 kB / 0.6142 GB, free: 54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007349/0.479, allocations: 12.6 MB / 0.6265 GB, free: 41.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.479, allocations: 1.969 kB / 0.6265 GB, free: 41.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.4833, allocations: 2.097 MB / 0.6286 GB, free: 40.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.4837, allocations: 175.6 kB / 0.6287 GB, free: 40.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.4839, allocations: 28.14 kB / 0.6288 GB, free: 40.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/0.4846, allocations: 51.7 kB / 0.6288 GB, free: 40.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.485, allocations: 102.2 kB / 0.6289 GB, free: 40.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.4851, allocations: 41.34 kB / 0.6289 GB, free: 40.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008615/0.4859, allocations: 0.5286 MB / 0.6295 GB, free: 40.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4859, allocations: 0.7656 kB / 0.6295 GB, free: 40.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001713/0.4877, allocations: 468.8 kB / 0.6299 GB, free: 40.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004579/0.4923, allocations: 2.988 MB / 0.6328 GB, free: 38.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003398/0.4957, allocations: 2.12 MB / 0.6349 GB, free: 37.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.4957, allocations: 0 / 0.6349 GB, free: 37.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.4978, allocations: 1.593 MB / 0.6364 GB, free: 35.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.4996, allocations: 376.4 kB / 0.6368 GB, free: 35.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.5137, allocations: 10.33 MB / 0.6469 GB, free: 29.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5142, allocations: 1.075 MB / 0.6479 GB, free: 28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008531/0.515, allocations: 208.4 kB / 0.6481 GB, free: 27.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.5155, allocations: 455.3 kB / 0.6486 GB, free: 27.35 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5155, allocations: 0 / 0.6486 GB, free: 27.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.5871, allocations: 34.31 MB / 0.6821 GB, free: 9.328 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.97, allocations: 17.05 kB / 0.6821 GB, free: 9.316 MB / 478.1 MB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches