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.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 194.7 kB / 16.25 MB, free: 6.633 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6532/0.6532, allocations: 91.21 MB / 381.3 MB, free: 9.535 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 73.48 kB / 459.9 MB, free: 23.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 67.7 MB / 0.5152 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04498/0.1548, allocations: 39.84 MB / 0.5542 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.1695, allocations: 8.724 MB / 0.5627 GB, free: 9.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.171, allocations: 47.62 kB / 0.5627 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.1727, allocations: 469.5 kB / 0.5632 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.1771, allocations: 1.193 MB / 0.5643 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.1798, allocations: 0.8174 MB / 0.5651 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.1828, allocations: 1.968 MB / 0.567 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005602/0.1834, allocations: 260.1 kB / 0.5673 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.186, allocations: 1.117 MB / 0.5684 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1873, allocations: 0.735 MB / 0.5691 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.1876, allocations: 99.94 kB / 0.5692 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.1899, allocations: 0.8582 MB / 0.57 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.1902, allocations: 262.9 kB / 0.5703 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.1909, allocations: 0.6295 MB / 0.5709 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.1935, allocations: 1.784 MB / 0.5726 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1935, allocations: 0 / 0.5726 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1935, allocations: 0 / 0.5726 GB, free: 15.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.15e-05/0.1935, allocations: 7.938 kB / 0.5727 GB, free: 15.41 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.003194/0.1967, allocations: 1.651 MB / 0.5743 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1968, allocations: 8.031 kB / 0.5743 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.197, allocations: 135.4 kB / 0.5744 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.1973, allocations: 143.3 kB / 0.5745 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1985, allocations: 0.7728 MB / 0.5753 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.1986, allocations: 91.7 kB / 0.5754 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.1987, allocations: 91.91 kB / 0.5755 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.2003, allocations: 0.9956 MB / 0.5764 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2004, allocations: 0 / 0.5764 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.2005, allocations: 40 kB / 0.5765 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.2005, allocations: 20 kB / 0.5765 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.2021, allocations: 0.89 MB / 0.5774 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00544/0.2075, allocations: 4.597 MB / 0.5819 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.2094, allocations: 1.019 MB / 0.5829 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.2102, allocations: 456 kB / 0.5833 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00333/0.2135, allocations: 2.995 MB / 0.5862 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2136, allocations: 46.98 kB / 0.5863 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.225e-06/0.2136, allocations: 0 / 0.5863 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.2023/0.4159, allocations: 4.241 MB / 0.5904 GB, free: 72.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.416, allocations: 92.98 kB / 0.5905 GB, free: 72.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.417, allocations: 0.7542 MB / 0.5912 GB, free: 71.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.988e-05/0.4171, allocations: 48.7 kB / 0.5913 GB, free: 71.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.4174, allocations: 474.1 kB / 0.5917 GB, free: 71.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.4176, allocations: 390.8 kB / 0.5921 GB, free: 71.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.4179, allocations: 186.4 kB / 0.5923 GB, free: 71.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.418, allocations: 348.5 kB / 0.5926 GB, free: 70.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007697/0.4188, allocations: 384.6 kB / 0.593 GB, free: 70.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/0.4196, allocations: 0.5426 MB / 0.5935 GB, free: 70.38 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.001822/0.4214, allocations: 1.058 MB / 0.5945 GB, free: 69.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4215, allocations: 1.844 kB / 0.5945 GB, free: 69.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002933/0.4244, allocations: 1.457 MB / 0.596 GB, free: 69.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4244, allocations: 6.844 kB / 0.596 GB, free: 69.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4244, allocations: 8.625 kB / 0.596 GB, free: 69.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4255, allocations: 349.8 kB / 0.5963 GB, free: 68.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.4263, allocations: 195.9 kB / 0.5965 GB, free: 68.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.4329, allocations: 12.6 MB / 0.6088 GB, free: 56.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.4337, allocations: 54.58 kB / 0.6089 GB, free: 56.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.4338, allocations: 45.12 kB / 0.6089 GB, free: 56.74 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.000416/0.4342, allocations: 257.5 kB / 0.6091 GB, free: 56.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.4344, allocations: 118.4 kB / 0.6093 GB, free: 56.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.4377, allocations: 1.595 MB / 0.6108 GB, free: 55.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4377, allocations: 13.81 kB / 0.6108 GB, free: 55.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4378, allocations: 4.812 kB / 0.6108 GB, free: 55.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.4378, allocations: 5.578 kB / 0.6108 GB, free: 55.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.4424, allocations: 2.723 MB / 0.6135 GB, free: 54.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.4424, allocations: 4.109 kB / 0.6135 GB, free: 54.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.4432, allocations: 175.5 kB / 0.6137 GB, free: 54.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.4443, allocations: 373.3 kB / 0.614 GB, free: 54.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.4444, allocations: 36.05 kB / 0.6141 GB, free: 54.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00736/0.4518, allocations: 12.6 MB / 0.6264 GB, free: 42.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4518, allocations: 0 / 0.6264 GB, free: 42.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.4561, allocations: 2.096 MB / 0.6284 GB, free: 40.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.4564, allocations: 177.8 kB / 0.6286 GB, free: 40.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.4566, allocations: 27.78 kB / 0.6286 GB, free: 40.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.4576, allocations: 76.95 kB / 0.6287 GB, free: 40.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.4579, allocations: 94.88 kB / 0.6288 GB, free: 40.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.458, allocations: 45.64 kB / 0.6288 GB, free: 40.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009365/0.4589, allocations: 0.5341 MB / 0.6293 GB, free: 40.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4589, allocations: 0 / 0.6293 GB, free: 40.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00209/0.461, allocations: 474.2 kB / 0.6298 GB, free: 40.44 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.004856/0.4659, allocations: 2.995 MB / 0.6327 GB, free: 38.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003449/0.4694, allocations: 2.115 MB / 0.6348 GB, free: 37.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4694, allocations: 0 / 0.6348 GB, free: 37.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.4715, allocations: 1.598 MB / 0.6363 GB, free: 36.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.4733, allocations: 358 kB / 0.6367 GB, free: 36.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.4891, allocations: 10.73 MB / 0.6471 GB, free: 28.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.4896, allocations: 1.086 MB / 0.6482 GB, free: 27.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008555/0.4904, allocations: 204.4 kB / 0.6484 GB, free: 27.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.4909, allocations: 451.3 kB / 0.6488 GB, free: 26.93 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4909, allocations: 0 / 0.6488 GB, free: 26.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9681/1.459, allocations: 34.19 MB / 0.6822 GB, free: 9.07 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/1.459, allocations: 236.9 kB / 0.6824 GB, free: 8.812 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/4.514, allocations: 3.938 kB / 0.6824 GB, free: 8.809 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/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