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.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001794/0.001794, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6352/0.6352, allocations: 89.51 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 85.02 kB / 457.7 MB, free: 23.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1346, allocations: 67.31 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03527/0.1699, allocations: 40.08 MB / 0.5518 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009898/0.1799, allocations: 8.805 MB / 0.5604 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.1808, allocations: 15.88 kB / 0.5604 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.1824, allocations: 457.5 kB / 0.5609 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.185, allocations: 1.181 MB / 0.562 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.1869, allocations: 0.7899 MB / 0.5628 GB, free: 9.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.189, allocations: 2.346 MB / 0.5651 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.1893, allocations: 233 kB / 0.5653 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.191, allocations: 0.992 MB / 0.5663 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/0.1917, allocations: 0.6961 MB / 0.5669 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.1918, allocations: 60 kB / 0.567 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.1937, allocations: 0.8073 MB / 0.5678 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1939, allocations: 218.9 kB / 0.568 GB, free: 4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.1944, allocations: 0.5595 MB / 0.5685 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.1963, allocations: 1.671 MB / 0.5702 GB, free: 1.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1963, allocations: 4 kB / 0.5702 GB, free: 1.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1963, allocations: 3.984 kB / 0.5702 GB, free: 1.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1964, allocations: 0 / 0.5702 GB, free: 1.754 MB / 446.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.002808/0.1992, allocations: 1.55 MB / 0.5717 GB, free: 152 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1992, allocations: 12.03 kB / 0.5717 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.1994, allocations: 135.5 kB / 0.5718 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.1997, allocations: 139.4 kB / 0.572 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.2006, allocations: 0.6382 MB / 0.5726 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.2007, allocations: 96.2 kB / 0.5727 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.2008, allocations: 91.84 kB / 0.5728 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.2024, allocations: 1.003 MB / 0.5738 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2025, allocations: 0 / 0.5738 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.2025, allocations: 36 kB / 0.5738 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.2026, allocations: 20 kB / 0.5738 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.2042, allocations: 0.8939 MB / 0.5747 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.2095, allocations: 4.573 MB / 0.5791 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.2115, allocations: 1.002 MB / 0.5801 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.2123, allocations: 456 kB / 0.5806 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003316/0.2156, allocations: 3.003 MB / 0.5835 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2157, allocations: 54.94 kB / 0.5835 GB, free: 3.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.345e-06/0.2157, allocations: 0 / 0.5835 GB, free: 3.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.2156/0.4312, allocations: 4.202 MB / 0.5876 GB, free: 75.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4313, allocations: 90.16 kB / 0.5877 GB, free: 75.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.4322, allocations: 0.6688 MB / 0.5884 GB, free: 75.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4323, allocations: 47.17 kB / 0.5884 GB, free: 75.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.4326, allocations: 424.8 kB / 0.5888 GB, free: 74.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.4328, allocations: 388.1 kB / 0.5892 GB, free: 74.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.4332, allocations: 186.9 kB / 0.5894 GB, free: 74.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.4332, allocations: 349.2 kB / 0.5897 GB, free: 74.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008548/0.4341, allocations: 384.9 kB / 0.5901 GB, free: 73.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009271/0.435, allocations: 0.5538 MB / 0.5906 GB, free: 73.65 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.001899/0.437, allocations: 1.059 MB / 0.5917 GB, free: 73.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.437, allocations: 1.344 kB / 0.5917 GB, free: 73.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003213/0.4402, allocations: 1.454 MB / 0.5931 GB, free: 72.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4402, allocations: 13.78 kB / 0.5931 GB, free: 72.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.4403, allocations: 4.938 kB / 0.5931 GB, free: 72.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.4415, allocations: 347.8 kB / 0.5934 GB, free: 72.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007997/0.4423, allocations: 198.7 kB / 0.5936 GB, free: 72.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/0.449, allocations: 11.61 MB / 0.605 GB, free: 61.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.45, allocations: 58.16 kB / 0.605 GB, free: 61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.4501, allocations: 48.56 kB / 0.6051 GB, free: 60.98 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 (111): * Single equations (assignments): 102 * 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.0004626/0.4505, allocations: 248 kB / 0.6053 GB, free: 60.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4508, allocations: 101.9 kB / 0.6054 GB, free: 60.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/0.4541, allocations: 1.593 MB / 0.6069 GB, free: 60.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4541, allocations: 13.12 kB / 0.607 GB, free: 60.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4541, allocations: 2.625 kB / 0.607 GB, free: 60.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.4541, allocations: 8.438 kB / 0.607 GB, free: 60.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/0.4589, allocations: 2.693 MB / 0.6096 GB, free: 58.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4589, allocations: 3.219 kB / 0.6096 GB, free: 58.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.4597, allocations: 176 kB / 0.6098 GB, free: 58.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4608, allocations: 356.2 kB / 0.6101 GB, free: 58.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.461, allocations: 34.62 kB / 0.6101 GB, free: 58.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/0.4682, allocations: 11.61 MB / 0.6215 GB, free: 47.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4682, allocations: 4.844 kB / 0.6215 GB, free: 47.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.4724, allocations: 2.076 MB / 0.6235 GB, free: 46.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.4727, allocations: 167 kB / 0.6237 GB, free: 46.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.4729, allocations: 23.88 kB / 0.6237 GB, free: 46.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/0.4738, allocations: 74.22 kB / 0.6238 GB, free: 46.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.474, allocations: 95.53 kB / 0.6239 GB, free: 46.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.4742, allocations: 48.22 kB / 0.6239 GB, free: 46.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006628/0.4748, allocations: 485.8 kB / 0.6244 GB, free: 45.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4748, allocations: 0 / 0.6244 GB, free: 45.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001868/0.4767, allocations: 479.2 kB / 0.6248 GB, free: 45.77 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.005173/0.4819, allocations: 2.983 MB / 0.6277 GB, free: 44.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003106/0.485, allocations: 2.064 MB / 0.6298 GB, free: 42.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.485, allocations: 5.125 kB / 0.6298 GB, free: 42.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.4871, allocations: 1.596 MB / 0.6313 GB, free: 41.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.4889, allocations: 323.1 kB / 0.6316 GB, free: 41.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.5041, allocations: 10.2 MB / 0.6416 GB, free: 34.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.5046, allocations: 1.046 MB / 0.6426 GB, free: 34.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008816/0.5055, allocations: 194.3 kB / 0.6428 GB, free: 34.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.506, allocations: 409.4 kB / 0.6432 GB, free: 33.67 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.506, allocations: 0 / 0.6432 GB, free: 33.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.5627, allocations: 32.06 MB / 0.6745 GB, free: 2.648 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.5629, allocations: 237.5 kB / 0.6747 GB, free: 2.387 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.322, allocations: 0 / 0.6747 GB, free: 2.387 MB / 462.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