Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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) 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(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_TanksWithOverflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_TanksWithOverflow",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.00148/0.00148, allocations: 106 kB / 17.06 MB, free: 6.125 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.001732/0.001733, allocations: 200 kB / 18 MB, free: 5.199 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009624/0.0009625, allocations: 43.94 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2305, allocations: 49.44 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.0273/0.2579, allocations: 30.15 MB / 430.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.2731, allocations: 10.28 MB / 440.7 MB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.2748, allocations: 35.75 kB / 440.7 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.2772, allocations: 477 kB / 441.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.2857, allocations: 1.866 MB / 443 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.2984, allocations: 2.758 MB / 445.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007556/0.306, allocations: 3.67 MB / 449.5 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.3089, allocations: 1.154 MB / 450.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/0.3135, allocations: 1.526 MB / 452.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.3176, allocations: 1.417 MB / 453.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006526/0.3182, allocations: 152 kB / 453.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005771/0.324, allocations: 2.094 MB / 455.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008524/0.3249, allocations: 0.5728 MB / 456.4 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.3265, allocations: 0.8051 MB / 457.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.3324, allocations: 3.35 MB / 460.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3325, allocations: 3.984 kB / 460.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3325, allocations: 0 / 460.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.982e-05/0.3326, allocations: 0 / 460.5 MB, free: 12.31 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.005707/0.3383, allocations: 2.038 MB / 462.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3383, allocations: 12.03 kB / 462.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/0.3387, allocations: 176.6 kB / 462.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.3393, allocations: 162.2 kB / 462.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.3413, allocations: 0.9447 MB / 463.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.3415, allocations: 234.5 kB / 464.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.3417, allocations: 99.97 kB / 464.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.3448, allocations: 1.794 MB / 466 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.3448, allocations: 3.938 kB / 466 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.345, allocations: 47.97 kB / 466 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.3451, allocations: 106 kB / 466.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.3481, allocations: 1.772 MB / 467.9 MB, free: 4.73 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.3604, allocations: 6.913 MB / 474.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.363, allocations: 1.49 MB / 476.3 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3643, allocations: 0.8874 MB / 477.2 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008227/0.3652, allocations: 0.649 MB / 477.8 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.3652, allocations: 47.5 kB / 477.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.085e-06/0.3652, allocations: 0 / 477.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=128): time 0.0166/0.3818, allocations: 6.628 MB / 484.5 MB, free: 3.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.382, allocations: 167.5 kB / 484.7 MB, free: 3.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.3835, allocations: 1.107 MB / 485.8 MB, free: 2.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.3838, allocations: 45.7 kB / 485.8 MB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.3842, allocations: 0.4966 MB / 486.3 MB, free: 1.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.3848, allocations: 433.8 kB / 486.7 MB, free: 1.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006216/0.3854, allocations: 267.5 kB / 487 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3856, allocations: 357.9 kB / 487.4 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.3871, allocations: 0.852 MB / 488.2 MB, free: 15.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.3887, allocations: 1.072 MB / 489.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.3916, allocations: 1.808 MB / 491.1 MB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3916, allocations: 0 / 491.1 MB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004743/0.3963, allocations: 2.623 MB / 493.7 MB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3964, allocations: 8 kB / 493.7 MB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3964, allocations: 4 kB / 493.7 MB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/0.3999, allocations: 1.308 MB / 495 MB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009886/0.4009, allocations: 215.6 kB / 495.2 MB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006364/0.4073, allocations: 6.729 MB / 0.4902 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.4086, allocations: 63.94 kB / 0.4903 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.4088, allocations: 59.97 kB / 0.4903 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001864/0.4107, allocations: 1.101 MB / 0.4914 GB, free: 252 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001565/0.4122, allocations: 1.059 MB / 0.4924 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002699/0.415, allocations: 1.774 MB / 0.4942 GB, free: 13.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.415, allocations: 0 / 0.4942 GB, free: 13.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization_lambda0): time 0.004412/0.4194, allocations: 2.502 MB / 0.4966 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4194, allocations: 8 kB / 0.4966 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4194, allocations: 4 kB / 0.4966 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.4219, allocations: 1.02 MB / 0.4976 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4229, allocations: 231.6 kB / 0.4978 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.4287, allocations: 6.461 MB / 0.5041 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.43, allocations: 72.02 kB / 0.5042 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.4302, allocations: 60.09 kB / 0.5043 GB, free: 2.512 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 (hysteresis.y,$PRE.hysteresis.y,lowerTank.inFlow[2],lowerTank.inFlow[1],lowerTank.regularFlow[2],lowerTank.regularFlow[1],upperTank.inFlow[3],upperTank.inFlow[2],upperTank.inFlow[1],upperTank.regularFlow[3],upperTank.regularFlow[2],upperTank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.4306, allocations: 265.4 kB / 0.5045 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.431, allocations: 142.3 kB / 0.5047 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.4359, allocations: 2.787 MB / 0.5074 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.4359, allocations: 19.98 kB / 0.5074 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.436, allocations: 7.938 kB / 0.5074 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.436, allocations: 3.984 kB / 0.5074 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007564/0.4435, allocations: 4.53 MB / 0.5118 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-06/0.4436, allocations: 0 / 0.5118 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.4444, allocations: 151.8 kB / 0.512 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/0.4476, allocations: 1.295 MB / 0.5132 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/0.4478, allocations: 35.97 kB / 0.5133 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006732/0.4545, allocations: 6.755 MB / 0.5199 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4545, allocations: 0 / 0.5199 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006602/0.4612, allocations: 3.946 MB / 0.5237 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/0.4622, allocations: 435.1 kB / 0.5241 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.4625, allocations: 27.94 kB / 0.5242 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.4635, allocations: 63.88 kB / 0.5242 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.4638, allocations: 145.1 kB / 0.5244 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.464, allocations: 55.95 kB / 0.5244 GB, free: 13.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.465, allocations: 0.7493 MB / 0.5252 GB, free: 12.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.465, allocations: 0 / 0.5252 GB, free: 12.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002875/0.4679, allocations: 1.05 MB / 0.5262 GB, free: 11.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.level,upperTank.medium.T,lowerTank.level,lowerTank.medium.T) * Number of discrete variables: 11 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (4,14), (4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008511/0.4764, allocations: 5.147 MB / 0.5312 GB, free: 6.355 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007713/0.4842, allocations: 3.821 MB / 0.5349 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4842, allocations: 0 / 0.5349 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.4872, allocations: 1.446 MB / 0.5364 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/0.4902, allocations: 0.6261 MB / 0.537 GB, free: 400 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1874/0.6776, allocations: 14.39 MB / 0.551 GB, free: 132.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.6782, allocations: 1.263 MB / 0.5523 GB, free: 131.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001522/0.6797, allocations: 0.5757 MB / 0.5528 GB, free: 131 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/0.6803, allocations: 0.5071 MB / 0.5533 GB, free: 130.5 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6803, allocations: 3.969 kB / 0.5533 GB, free: 130.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.537/2.217, allocations: 60.97 MB / 0.6129 GB, free: 69.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.02/21.24, allocations: 8.656 kB / 0.6129 GB, free: 69.94 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_fmu --startTime=0 --stopTime=25000 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_TanksWithOverflow.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/TanksWithOverflow/TanksWithOverflow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,lowerTank.level,lowerTank.medium.h,upperTank.level,upperTank.medium.h,hysteresis.y Variables in the result:der(lowerTank.U),der(lowerTank.V),der(lowerTank.level),der(lowerTank.m),der(lowerTank.medium.T),der(lowerTank.medium.d),der(lowerTank.medium.u),der(lowerTank.ports[2].h_outflow),der(upperTank.U),der(upperTank.V),der(upperTank.level),der(upperTank.m),der(upperTank.medium.T),der(upperTank.medium.d),der(upperTank.medium.u),der(upperTank.ports[3].h_outflow),hysteresis.pre_y_start,hysteresis.u,hysteresis.uHigh,hysteresis.uLow,hysteresis.y,lowerTank.Hb_flow,lowerTank.Qb_flow,lowerTank.T_ambient,lowerTank.T_start,lowerTank.U,lowerTank.V,lowerTank.Wb_flow,lowerTank.X_start[1],lowerTank.crossArea,lowerTank.energyDynamics,lowerTank.fluidVolume,lowerTank.h_start,lowerTank.heatTransfer.Q_flows[1],lowerTank.heatTransfer.T_ambient,lowerTank.heatTransfer.Ts[1],lowerTank.heatTransfer.heatPorts[1].Q_flow,lowerTank.heatTransfer.heatPorts[1].T,lowerTank.heatTransfer.k,lowerTank.heatTransfer.n,lowerTank.heatTransfer.states[1].T,lowerTank.heatTransfer.states[1].p,lowerTank.heatTransfer.surfaceAreas[1],lowerTank.heatTransfer.use_k,lowerTank.height,lowerTank.level,lowerTank.level_start,lowerTank.m,lowerTank.m_flow_nominal,lowerTank.m_flow_small,lowerTank.m_flow_turbulent[1],lowerTank.m_flow_turbulent[2],lowerTank.massDynamics,lowerTank.mb_flow,lowerTank.medium.MM,lowerTank.medium.R_s,lowerTank.medium.T,lowerTank.medium.T_degC,lowerTank.medium.X[1],lowerTank.medium.d,lowerTank.medium.h,lowerTank.medium.p,lowerTank.medium.p_bar,lowerTank.medium.preferredMediumStates,lowerTank.medium.standardOrderComponents,lowerTank.medium.state.T,lowerTank.medium.state.p,lowerTank.medium.u,lowerTank.nPorts,lowerTank.p_ambient,lowerTank.p_start,lowerTank.portAreas[1],lowerTank.portAreas[2],lowerTank.portInDensities[1],lowerTank.portInDensities[2],lowerTank.portVelocities[1],lowerTank.portVelocities[2],lowerTank.portsData[1].diameter,lowerTank.portsData[1].height,lowerTank.portsData[1].zeta_in,lowerTank.portsData[1].zeta_out,lowerTank.portsData[2].diameter,lowerTank.portsData[2].height,lowerTank.portsData[2].zeta_in,lowerTank.portsData[2].zeta_out,lowerTank.ports[1].h_outflow,lowerTank.ports[1].m_flow,lowerTank.ports[1].p,lowerTank.ports[2].h_outflow,lowerTank.ports[2].m_flow,lowerTank.ports[2].p,lowerTank.ports_E_flow[1],lowerTank.ports_E_flow[2],lowerTank.ports_H_flow[1],lowerTank.ports_H_flow[2],lowerTank.ports_penetration[1],lowerTank.ports_penetration[2],lowerTank.s[1],lowerTank.s[2],lowerTank.substanceDynamics,lowerTank.traceDynamics,lowerTank.use_HeatTransfer,lowerTank.use_Re,lowerTank.use_T_start,lowerTank.use_portsData,lowerTank.vessel_ps_static[1],lowerTank.vessel_ps_static[2],m_flow_off.k,m_flow_off.y,m_flow_on.k,m_flow_on.y,massFlowRate.T,massFlowRate.X[1],massFlowRate.m_flow,massFlowRate.m_flow_in,massFlowRate.medium.MM,massFlowRate.medium.R_s,massFlowRate.medium.T,massFlowRate.medium.T_degC,massFlowRate.medium.X[1],massFlowRate.medium.d,massFlowRate.medium.h,massFlowRate.medium.p,massFlowRate.medium.p_bar,massFlowRate.medium.preferredMediumStates,massFlowRate.medium.standardOrderComponents,massFlowRate.medium.state.T,massFlowRate.medium.state.p,massFlowRate.medium.u,massFlowRate.nPorts,massFlowRate.ports[1].h_outflow,massFlowRate.ports[1].m_flow,massFlowRate.ports[1].p,massFlowRate.use_C_in,massFlowRate.use_T_in,massFlowRate.use_X_in,massFlowRate.use_m_flow_in,overflow.V,overflow.allowFlowReversal,overflow.crossArea,overflow.diameter,overflow.flowModel.Fs_fg[1],overflow.flowModel.Fs_p[1],overflow.flowModel.Ib_flows[1],overflow.flowModel.Is[1],overflow.flowModel.Re_turbulent,overflow.flowModel.Res_turbulent_internal[1],overflow.flowModel.allowFlowReversal,overflow.flowModel.crossAreas[1],overflow.flowModel.crossAreas[2],overflow.flowModel.dheights[1],overflow.flowModel.dimensions[1],overflow.flowModel.dimensions[2],overflow.flowModel.dp_nominal,overflow.flowModel.dps_fg[1],overflow.flowModel.from_dp,overflow.flowModel.g,overflow.flowModel.m,overflow.flowModel.m_flow_nominal,overflow.flowModel.m_flow_small,overflow.flowModel.m_flow_start,overflow.flowModel.m_flows[1],overflow.flowModel.momentumDynamics,overflow.flowModel.mus[1],overflow.flowModel.mus[2],overflow.flowModel.mus_act[1],overflow.flowModel.n,overflow.flowModel.nParallel,overflow.flowModel.p_a_start,overflow.flowModel.p_b_start,overflow.flowModel.pathLengths[1],overflow.flowModel.pathLengths_internal[1],overflow.flowModel.rhos[1],overflow.flowModel.rhos[2],overflow.flowModel.rhos_act[1],overflow.flowModel.roughnesses[1],overflow.flowModel.roughnesses[2],overflow.flowModel.show_Res,overflow.flowModel.states[1].T,overflow.flowModel.states[1].p,overflow.flowModel.states[2].T,overflow.flowModel.states[2].p,overflow.flowModel.useUpstreamScheme,overflow.flowModel.use_Ib_flows,overflow.flowModel.vs[1],overflow.flowModel.vs[2],overflow.height_ab,overflow.isCircular,overflow.length,overflow.m_flow_start,overflow.nParallel,overflow.p_a_start,overflow.p_b_start,overflow.perimeter,overflow.port_a.h_outflow,overflow.port_a.m_flow,overflow.port_a.p,overflow.port_b.h_outflow,overflow.port_b.m_flow,overflow.port_b.p,overflow.roughness,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,pressure.p,pressure.port.h_outflow,pressure.port.m_flow,pressure.port.p,switch1.u1,switch1.u2,switch1.u3,switch1.y,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time,upperTank.Hb_flow,upperTank.Qb_flow,upperTank.T_ambient,upperTank.T_start,upperTank.U,upperTank.V,upperTank.Wb_flow,upperTank.X_start[1],upperTank.crossArea,upperTank.energyDynamics,upperTank.fluidVolume,upperTank.h_start,upperTank.heatTransfer.Q_flows[1],upperTank.heatTransfer.T_ambient,upperTank.heatTransfer.Ts[1],upperTank.heatTransfer.heatPorts[1].Q_flow,upperTank.heatTransfer.heatPorts[1].T,upperTank.heatTransfer.k,upperTank.heatTransfer.n,upperTank.heatTransfer.states[1].T,upperTank.heatTransfer.states[1].p,upperTank.heatTransfer.surfaceAreas[1],upperTank.heatTransfer.use_k,upperTank.height,upperTank.level,upperTank.level_start,upperTank.m,upperTank.m_flow_nominal,upperTank.m_flow_small,upperTank.m_flow_turbulent[1],upperTank.m_flow_turbulent[2],upperTank.m_flow_turbulent[3],upperTank.massDynamics,upperTank.mb_flow,upperTank.medium.MM,upperTank.medium.R_s,upperTank.medium.T,upperTank.medium.T_degC,upperTank.medium.X[1],upperTank.medium.d,upperTank.medium.h,upperTank.medium.p,upperTank.medium.p_bar,upperTank.medium.preferredMediumStates,upperTank.medium.standardOrderComponents,upperTank.medium.state.T,upperTank.medium.state.p,upperTank.medium.u,upperTank.nPorts,upperTank.p_ambient,upperTank.p_start,upperTank.portAreas[1],upperTank.portAreas[2],upperTank.portAreas[3],upperTank.portInDensities[1],upperTank.portInDensities[2],upperTank.portInDensities[3],upperTank.portVelocities[1],upperTank.portVelocities[2],upperTank.portVelocities[3],upperTank.portsData[1].diameter,upperTank.portsData[1].height,upperTank.portsData[1].zeta_in,upperTank.portsData[1].zeta_out,upperTank.portsData[2].diameter,upperTank.portsData[2].height,upperTank.portsData[2].zeta_in,upperTank.portsData[2].zeta_out,upperTank.portsData[3].diameter,upperTank.portsData[3].height,upperTank.portsData[3].zeta_in,upperTank.portsData[3].zeta_out,upperTank.ports[1].h_outflow,upperTank.ports[1].m_flow,upperTank.ports[1].p,upperTank.ports[2].h_outflow,upperTank.ports[2].m_flow,upperTank.ports[2].p,upperTank.ports[3].h_outflow,upperTank.ports[3].m_flow,upperTank.ports[3].p,upperTank.ports_E_flow[1],upperTank.ports_E_flow[2],upperTank.ports_E_flow[3],upperTank.ports_H_flow[1],upperTank.ports_H_flow[2],upperTank.ports_H_flow[3],upperTank.ports_penetration[1],upperTank.ports_penetration[2],upperTank.ports_penetration[3],upperTank.s[1],upperTank.s[2],upperTank.s[3],upperTank.substanceDynamics,upperTank.traceDynamics,upperTank.use_HeatTransfer,upperTank.use_Re,upperTank.use_T_start,upperTank.use_portsData,upperTank.vessel_ps_static[1],upperTank.vessel_ps_static[2],upperTank.vessel_ps_static[3]