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.001003/0.001003, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008311/0.008311, allocations: 169 kB / 16.26 MB, free: 6.652 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5303/0.5303, allocations: 89.65 MB / 381.1 MB, free: 11.35 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 9.688 kB / 460.7 MB, free: 24.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09965, allocations: 68.83 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.0334/0.1331, allocations: 39.18 MB / 0.5554 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009376/0.1425, allocations: 8.684 MB / 0.5639 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.1431, allocations: 11.94 kB / 0.5639 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1442, allocations: 465.5 kB / 0.5644 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.1467, allocations: 1.162 MB / 0.5655 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.1484, allocations: 0.7941 MB / 0.5663 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.1505, allocations: 2.343 MB / 0.5686 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.1508, allocations: 233 kB / 0.5688 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.1523, allocations: 0.9725 MB / 0.5697 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.153, allocations: 0.6688 MB / 0.5704 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.69e-05/0.1531, allocations: 44 kB / 0.5704 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.1548, allocations: 0.7957 MB / 0.5712 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.155, allocations: 206.9 kB / 0.5714 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.1555, allocations: 0.569 MB / 0.572 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.1572, allocations: 1.643 MB / 0.5736 GB, free: 1.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1572, allocations: 0 / 0.5736 GB, free: 1.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1572, allocations: 0 / 0.5736 GB, free: 1.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1572, allocations: 0 / 0.5736 GB, free: 1.32 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.1842/0.3414, allocations: 1.353 MB / 0.5749 GB, free: 59.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3415, allocations: 12.75 kB / 0.5749 GB, free: 59.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002879/0.3418, allocations: 136.5 kB / 0.575 GB, free: 59.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.3421, allocations: 137.2 kB / 0.5752 GB, free: 59.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009055/0.3431, allocations: 0.6384 MB / 0.5758 GB, free: 59.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.3432, allocations: 96.17 kB / 0.5759 GB, free: 59.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3433, allocations: 91.17 kB / 0.576 GB, free: 59.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.345, allocations: 1.005 MB / 0.5769 GB, free: 59.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.345, allocations: 4.969 kB / 0.5769 GB, free: 59.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.3451, allocations: 36.8 kB / 0.577 GB, free: 59.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3451, allocations: 20.97 kB / 0.577 GB, free: 59.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.3469, allocations: 0.9061 MB / 0.5779 GB, free: 59.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.3514, allocations: 4.626 MB / 0.5824 GB, free: 55.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3532, allocations: 1.002 MB / 0.5834 GB, free: 55.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.3539, allocations: 470.8 kB / 0.5838 GB, free: 55.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002733/0.3566, allocations: 3.004 MB / 0.5868 GB, free: 52.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3567, allocations: 48.23 kB / 0.5868 GB, free: 52.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=99): time 2.194e-06/0.3567, allocations: 0 / 0.5868 GB, free: 52.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.008144/0.3648, allocations: 4.292 MB / 0.591 GB, free: 50.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.3649, allocations: 89.31 kB / 0.5911 GB, free: 50.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.3656, allocations: 0.6711 MB / 0.5917 GB, free: 49.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.649e-05/0.3656, allocations: 42.95 kB / 0.5918 GB, free: 49.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.3659, allocations: 428.9 kB / 0.5922 GB, free: 49.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.3661, allocations: 381.4 kB / 0.5926 GB, free: 49.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3662, allocations: 96.84 kB / 0.5926 GB, free: 49.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.3663, allocations: 349.1 kB / 0.593 GB, free: 48.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007266/0.367, allocations: 398 kB / 0.5934 GB, free: 48.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/0.3678, allocations: 0.5572 MB / 0.5939 GB, free: 48.26 MB / 446.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.001605/0.3694, allocations: 1.085 MB / 0.595 GB, free: 47.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3694, allocations: 3.156 kB / 0.595 GB, free: 47.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002879/0.3723, allocations: 1.482 MB / 0.5964 GB, free: 46.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3723, allocations: 10.45 kB / 0.5964 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3724, allocations: 5.656 kB / 0.5964 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.3735, allocations: 359.5 kB / 0.5968 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.3742, allocations: 196.6 kB / 0.597 GB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.3809, allocations: 11.63 MB / 0.6083 GB, free: 35.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.3818, allocations: 68.66 kB / 0.6084 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.3819, allocations: 51.2 kB / 0.6084 GB, free: 35.51 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0004196/0.3823, allocations: 248.2 kB / 0.6087 GB, free: 35.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.3825, allocations: 100.2 kB / 0.6088 GB, free: 35.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/0.3863, allocations: 1.624 MB / 0.6103 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3863, allocations: 11.94 kB / 0.6104 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.3863, allocations: 7.875 kB / 0.6104 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.3863, allocations: 8.344 kB / 0.6104 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.3907, allocations: 2.718 MB / 0.613 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.3907, allocations: 2.281 kB / 0.613 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.3914, allocations: 185.7 kB / 0.6132 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.3925, allocations: 360.8 kB / 0.6136 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/0.3926, allocations: 43.88 kB / 0.6136 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00631/0.399, allocations: 11.63 MB / 0.625 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.399, allocations: 1.25 kB / 0.625 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.4026, allocations: 2.116 MB / 0.627 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.4028, allocations: 179.9 kB / 0.6272 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.403, allocations: 27.84 kB / 0.6272 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/0.4037, allocations: 82.81 kB / 0.6273 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4039, allocations: 96.48 kB / 0.6274 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.175e-05/0.404, allocations: 47.69 kB / 0.6274 GB, free: 19.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004797/0.4045, allocations: 484.9 kB / 0.6279 GB, free: 19.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4045, allocations: 0 / 0.6279 GB, free: 19.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4059, allocations: 474.9 kB / 0.6284 GB, free: 18.99 MB / 446.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.003932/0.4098, allocations: 3.038 MB / 0.6313 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.4125, allocations: 2.1 MB / 0.6334 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4125, allocations: 0 / 0.6334 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.4142, allocations: 1.618 MB / 0.6349 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.4157, allocations: 318.2 kB / 0.6353 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.4283, allocations: 10.47 MB / 0.6455 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.4287, allocations: 1.044 MB / 0.6465 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006621/0.4294, allocations: 195.5 kB / 0.6467 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.4298, allocations: 411.3 kB / 0.6471 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4298, allocations: 0 / 0.6471 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.772/5.202, allocations: 31.77 MB / 0.6781 GB, free: 1.406 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/5.202, allocations: 240.9 kB / 0.6783 GB, free: 1.141 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/9.043, allocations: 0 / 0.6783 GB, free: 1.141 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