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.001576/0.001576, 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.001895/0.001895, allocations: 194.3 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6638/0.6638, allocations: 91.2 MB / 381.6 MB, free: 9.422 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 81.38 kB / 460.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1216, allocations: 67.7 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04414/0.1658, allocations: 39.36 MB / 0.5542 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1783, allocations: 8.666 MB / 0.5626 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1797, allocations: 43.75 kB / 0.5627 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.1813, allocations: 0.5161 MB / 0.5632 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.1851, allocations: 1.305 MB / 0.5644 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.1876, allocations: 0.8986 MB / 0.5653 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.1901, allocations: 1.961 MB / 0.5672 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.1906, allocations: 256.2 kB / 0.5675 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.193, allocations: 1.113 MB / 0.5686 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.1942, allocations: 0.7233 MB / 0.5693 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.1946, allocations: 96 kB / 0.5694 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.197, allocations: 0.8582 MB / 0.5702 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.1975, allocations: 262.8 kB / 0.5705 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009914/0.1985, allocations: 0.6217 MB / 0.5711 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.2016, allocations: 1.787 MB / 0.5728 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2017, allocations: 0 / 0.5728 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2017, allocations: 0 / 0.5728 GB, free: 15.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.206e-05/0.2017, allocations: 0 / 0.5728 GB, free: 15.43 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.003498/0.2052, allocations: 1.655 MB / 0.5744 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2053, allocations: 12.03 kB / 0.5744 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.2055, allocations: 131.4 kB / 0.5746 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.2059, allocations: 151.3 kB / 0.5747 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.2071, allocations: 0.765 MB / 0.5755 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.2072, allocations: 95.7 kB / 0.5755 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2073, allocations: 95.89 kB / 0.5756 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.209, allocations: 0.9956 MB / 0.5766 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.209, allocations: 0 / 0.5766 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.2091, allocations: 40 kB / 0.5766 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.2092, allocations: 20 kB / 0.5767 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.2108, allocations: 0.89 MB / 0.5775 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00588/0.2167, allocations: 4.608 MB / 0.582 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.2189, allocations: 1.013 MB / 0.583 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.2197, allocations: 460 kB / 0.5835 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003863/0.2236, allocations: 2.987 MB / 0.5864 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.2236, allocations: 47 kB / 0.5864 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.875e-06/0.2236, allocations: 0 / 0.5864 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.2263/0.45, allocations: 4.246 MB / 0.5906 GB, free: 72.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.4501, allocations: 89.97 kB / 0.5907 GB, free: 72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4512, allocations: 0.755 MB / 0.5914 GB, free: 71.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4513, allocations: 46.92 kB / 0.5914 GB, free: 71.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.4516, allocations: 481 kB / 0.5919 GB, free: 71.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.4519, allocations: 388.5 kB / 0.5923 GB, free: 70.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.4522, allocations: 189.7 kB / 0.5924 GB, free: 70.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.4523, allocations: 345.2 kB / 0.5928 GB, free: 70.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.4531, allocations: 383.9 kB / 0.5931 GB, free: 70.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.454, allocations: 0.5407 MB / 0.5937 GB, free: 70.11 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.002025/0.456, allocations: 1.063 MB / 0.5947 GB, free: 69.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.456, allocations: 1.625 kB / 0.5947 GB, free: 69.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003081/0.4591, allocations: 1.458 MB / 0.5961 GB, free: 68.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4591, allocations: 7.156 kB / 0.5961 GB, free: 68.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4592, allocations: 5.062 kB / 0.5961 GB, free: 68.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.4603, allocations: 352 kB / 0.5965 GB, free: 68.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.461, allocations: 195.1 kB / 0.5967 GB, free: 68.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008213/0.4693, allocations: 12.61 MB / 0.609 GB, free: 56.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4706, allocations: 38.39 kB / 0.609 GB, free: 56.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4707, allocations: 48 kB / 0.6091 GB, free: 56.46 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.0005978/0.4713, allocations: 263.6 kB / 0.6093 GB, free: 56.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.4716, allocations: 107.6 kB / 0.6094 GB, free: 56.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/0.4754, allocations: 1.61 MB / 0.611 GB, free: 55.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.4755, allocations: 11.75 kB / 0.611 GB, free: 55.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.4755, allocations: 4.844 kB / 0.611 GB, free: 55.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.4755, allocations: 5.109 kB / 0.611 GB, free: 55.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.481, allocations: 2.717 MB / 0.6137 GB, free: 54.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.481, allocations: 6.188 kB / 0.6137 GB, free: 54.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.4819, allocations: 179.9 kB / 0.6138 GB, free: 54.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4831, allocations: 356.1 kB / 0.6142 GB, free: 53.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.103e-05/0.4832, allocations: 34.33 kB / 0.6142 GB, free: 53.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008786/0.492, allocations: 12.61 MB / 0.6265 GB, free: 41.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.492, allocations: 0 / 0.6265 GB, free: 41.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.4969, allocations: 2.099 MB / 0.6286 GB, free: 40.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.4975, allocations: 173.8 kB / 0.6287 GB, free: 40.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.4977, allocations: 31.56 kB / 0.6288 GB, free: 40.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.4985, allocations: 47.94 kB / 0.6288 GB, free: 40.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.4988, allocations: 102.1 kB / 0.6289 GB, free: 40.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.499, allocations: 43.34 kB / 0.629 GB, free: 40.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009344/0.4999, allocations: 0.5327 MB / 0.6295 GB, free: 40.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4999, allocations: 0.5625 kB / 0.6295 GB, free: 40.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001911/0.5018, allocations: 463 kB / 0.6299 GB, free: 40.18 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.004761/0.5066, allocations: 2.996 MB / 0.6328 GB, free: 38.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003486/0.5101, allocations: 2.108 MB / 0.6349 GB, free: 37.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5101, allocations: 0 / 0.6349 GB, free: 37.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.5123, allocations: 1.599 MB / 0.6365 GB, free: 35.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.5141, allocations: 365.1 kB / 0.6368 GB, free: 35.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.5287, allocations: 10.34 MB / 0.6469 GB, free: 29.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.5291, allocations: 1.079 MB / 0.648 GB, free: 27.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008298/0.53, allocations: 204.4 kB / 0.6482 GB, free: 27.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.5305, allocations: 455.3 kB / 0.6486 GB, free: 27.27 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5305, allocations: 0 / 0.6486 GB, free: 27.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07726/0.6077, allocations: 34.31 MB / 0.6821 GB, free: 9.242 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.1, allocations: 6.188 kB / 0.6821 GB, free: 9.238 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