Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_OneTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_OneTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009044/0.0009044, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 226.5 MB / 244.7 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007852, allocations: 95.91 kB / 296.7 MB, free: 6.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002044, allocations: 8 kB / 356.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1805, allocations: 51.3 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.01035/0.1909, allocations: 16.63 MB / 424.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.1972, allocations: 6.328 MB / 431.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.1977, allocations: 23.81 kB / 431.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.1984, allocations: 318.2 kB / 431.4 MB, free: 4.363 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001668/0.2001, allocations: 0.9912 MB / 432.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.203, allocations: 1.482 MB / 433.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.2047, allocations: 2.385 MB / 436.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/0.2052, allocations: 441.4 kB / 436.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008747/0.2061, allocations: 0.6811 MB / 437.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.2069, allocations: 0.7046 MB / 438.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-05/0.207, allocations: 32 kB / 438.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.2086, allocations: 1.057 MB / 439.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.2088, allocations: 231.2 kB / 439.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.2092, allocations: 407.9 kB / 439.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.2105, allocations: 1.237 MB / 441 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2105, allocations: 0 / 441 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2105, allocations: 0 / 441 MB, free: 10.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.2105, allocations: 0 / 441 MB, free: 10.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001825/0.2123, allocations: 1.088 MB / 442.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2124, allocations: 8.031 kB / 442.1 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.2125, allocations: 98.62 kB / 442.2 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.2128, allocations: 99.89 kB / 442.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.2135, allocations: 0.5694 MB / 442.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.2136, allocations: 96.39 kB / 443 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.2137, allocations: 44 kB / 443 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2148, allocations: 0.8105 MB / 443.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2148, allocations: 0 / 443.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.2149, allocations: 27.98 kB / 443.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.215, allocations: 40.97 kB / 443.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.2159, allocations: 0.683 MB / 444.6 MB, free: 6.992 MB / 314.7 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.004058/0.22, allocations: 3.432 MB / 448 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.2206, allocations: 415 kB / 448.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.221, allocations: 257.1 kB / 448.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.2224, allocations: 1.331 MB / 450 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.2229, allocations: 361 kB / 450.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.502e-06/0.2229, allocations: 0 / 450.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.003258/0.2262, allocations: 1.779 MB / 452.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2263, allocations: 277 kB / 452.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.2271, allocations: 0.7623 MB / 453.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.2272, allocations: 37.7 kB / 453.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.2274, allocations: 407 kB / 453.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2276, allocations: 134.2 kB / 453.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.2276, allocations: 12 kB / 453.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2277, allocations: 386.8 kB / 454.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.2281, allocations: 249.5 kB / 454.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.2287, allocations: 0.5035 MB / 454.9 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/0.2351, allocations: 1.848 MB / 456.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2351, allocations: 7.984 kB / 456.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001501/0.2366, allocations: 0.9372 MB / 457.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.2368, allocations: 316.9 kB / 458 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2368, allocations: 4 kB / 458 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.2373, allocations: 140.7 kB / 458.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.2378, allocations: 139.8 kB / 458.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005491/0.2383, allocations: 0.681 MB / 459 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.2389, allocations: 55.92 kB / 459 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.239, allocations: 32 kB / 459 MB, free: 7.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.239, allocations: 4 kB / 459 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/0.2404, allocations: 0.854 MB / 459.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2404, allocations: 12.02 kB / 459.9 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.2407, allocations: 121.5 kB / 460 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2412, allocations: 131.8 kB / 460.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004841/0.2417, allocations: 0.6733 MB / 460.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.2422, allocations: 47.92 kB / 460.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.2423, allocations: 35.98 kB / 460.9 MB, free: 5.684 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: tank.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank.level:VARIABLE(start = tank.level_start unit = "m" fixed = true stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.tank.aboveLevel[1],$whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004526/0.2427, allocations: 399.2 kB / 461.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.2428, allocations: 90.98 kB / 461.4 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.244, allocations: 0.6853 MB / 462.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.244, allocations: 4 kB / 462.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.244, allocations: 0 / 462.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.244, allocations: 0 / 462.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.2459, allocations: 1.398 MB / 463.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2459, allocations: 4.031 kB / 463.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.2462, allocations: 63.84 kB / 463.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.2466, allocations: 132.7 kB / 463.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.2466, allocations: 11.98 kB / 463.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004888/0.2471, allocations: 0.6577 MB / 464.3 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2472, allocations: 7.969 kB / 464.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2485, allocations: 1.018 MB / 465.4 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2486, allocations: 160.2 kB / 465.5 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2487, allocations: 15.92 kB / 465.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2492, allocations: 35.92 kB / 465.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2493, allocations: 35.94 kB / 465.6 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.2493, allocations: 19.98 kB / 465.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000577/0.2499, allocations: 0.5381 MB / 466.2 MB, free: 264 kB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2499, allocations: 0 / 466.2 MB, free: 264 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001281/0.2512, allocations: 0.535 MB / 466.7 MB, free: 15.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 8 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/0.2536, allocations: 1.902 MB / 468.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.2556, allocations: 1.183 MB / 469.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2556, allocations: 4 kB / 469.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.2562, allocations: 348.4 kB / 470.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.2577, allocations: 315 kB / 470.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/0.2649, allocations: 5.096 MB / 475.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.2654, allocations: 0.9582 MB / 476.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.2658, allocations: 263.3 kB / 476.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2658, allocations: 0 / 476.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.525/4.791, allocations: 18.63 MB / 495.4 MB, free: 2.734 MB / 362.7 MB (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_OneTank_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_OneTank.fmu > Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/OneTank/OneTank.csv","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,tank.level,tank.medium.T,tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent Variables in the result:ambient_fixed.T,ambient_fixed.T_in_internal,ambient_fixed.X[1],ambient_fixed.X_in_internal[1],ambient_fixed.flowDirection,ambient_fixed.medium.MM,ambient_fixed.medium.R_s,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.p_in_internal,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,ambient_fixed.use_C_in,ambient_fixed.use_T_in,ambient_fixed.use_X_in,ambient_fixed.use_p_in,der(tank.U),der(tank.fluidVolume),der(tank.level),der(tank.m),der(tank.medium.T),der(tank.medium.T_degC),der(tank.medium.u),flowSource.T,flowSource.T_in_internal,flowSource.X[1],flowSource.X_in_internal[1],flowSource.flowDirection,flowSource.m_flow,flowSource.m_flow_in,flowSource.m_flow_in_internal,flowSource.medium.MM,flowSource.medium.R_s,flowSource.medium.T,flowSource.medium.T_degC,flowSource.medium.X[1],flowSource.medium.d,flowSource.medium.h,flowSource.medium.p,flowSource.medium.p_bar,flowSource.medium.preferredMediumStates,flowSource.medium.standardOrderComponents,flowSource.medium.state.T,flowSource.medium.state.p,flowSource.medium.u,flowSource.nPorts,flowSource.ports[1].h_outflow,flowSource.ports[1].m_flow,flowSource.ports[1].p,flowSource.use_C_in,flowSource.use_T_in,flowSource.use_X_in,flowSource.use_m_flow_in,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.constantPressureLossCoefficient,pipe.flowModel.continuousFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.diameters[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_fric_nominal,pipe.flowModel.dp_nominal,pipe.flowModel.dp_small,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.mu_nominal,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.rho_nominal,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.use_mu_nominal,pipe.flowModel.use_rho_nominal,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_a_exposesState,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.port_b_exposesState,pipe.roughness,pipe.showDesignFlowDirection,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,tank.H_flow_top[1],tank.Hb_flow,tank.Qb_flow,tank.T_ambient,tank.T_start,tank.U,tank.V,tank.V0,tank.Wb_flow,tank.X_start[1],tank.aboveLevel[1],tank.bottomArea[1],tank.crossArea,tank.energyDynamics,tank.fluidVolume,tank.h_start,tank.heatTransfer.Q_flows[1],tank.heatTransfer.T_ambient,tank.heatTransfer.Ts[1],tank.heatTransfer.heatPorts[1].Q_flow,tank.heatTransfer.heatPorts[1].T,tank.heatTransfer.k,tank.heatTransfer.n,tank.heatTransfer.states[1].T,tank.heatTransfer.states[1].p,tank.heatTransfer.surfaceAreas[1],tank.heatTransfer.use_k,tank.height,tank.hysteresisFactor,tank.initialize_p,tank.level,tank.levelAbovePort[1],tank.level_start,tank.m,tank.m_flow_small,tank.massDynamics,tank.mb_flow,tank.medium.MM,tank.medium.R_s,tank.medium.T,tank.medium.T_degC,tank.medium.X[1],tank.medium.d,tank.medium.h,tank.medium.p,tank.medium.p_bar,tank.medium.preferredMediumStates,tank.medium.standardOrderComponents,tank.medium.state.T,tank.medium.state.p,tank.medium.u,tank.nPorts,tank.nTopPorts,tank.p_ambient,tank.p_start,tank.port_b_H_flow_bottom[1],tank.portsData[1].diameter,tank.portsData[1].height,tank.portsData[1].zeta_in,tank.portsData[1].zeta_out,tank.portsData_diameter2[1],tank.portsData_diameter[1],tank.portsData_height2[1],tank.portsData_height[1],tank.ports[1].h_outflow,tank.ports[1].m_flow,tank.ports[1].p,tank.ports_emptyPipeHysteresis[1],tank.ports_m_flow_out[1],tank.stiffCharacteristicForEmptyPort,tank.substanceDynamics,tank.topPorts[1].h_outflow,tank.topPorts[1].m_flow,tank.topPorts[1].p,tank.traceDynamics,tank.use_HeatTransfer,tank.use_T_start,tank.zetaLarge,tank.zetas_out[1],time,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,timeTable.offset,timeTable.shiftTime,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[10,1],timeTable.table[10,2],timeTable.table[11,1],timeTable.table[11,2],timeTable.table[12,1],timeTable.table[12,2],timeTable.table[13,1],timeTable.table[13,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2],timeTable.table[8,1],timeTable.table[8,2],timeTable.table[9,1],timeTable.table[9,2],timeTable.timeScale,timeTable.timeScaled,timeTable.y