Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0008857/0.0008856, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007281/0.0007281, allocations: 84.98 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 47.58 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.01153/0.1914, allocations: 16.58 MB / 391.8 MB, free: 32.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006312/0.1977, allocations: 6.249 MB / 398 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.1984, allocations: 31.69 kB / 398.1 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.1991, allocations: 318.2 kB / 398.4 MB, free: 25.48 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001742/0.2008, allocations: 0.9837 MB / 399.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.2041, allocations: 1.487 MB / 400.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.206, allocations: 2.366 MB / 403.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.2065, allocations: 454.6 kB / 403.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.2072, allocations: 0.6695 MB / 404.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/0.2078, allocations: 0.7046 MB / 405 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.754e-05/0.2079, allocations: 36 kB / 405.1 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.2093, allocations: 1.041 MB / 406.1 MB, free: 17.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.2095, allocations: 235.2 kB / 406.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.2098, allocations: 403.9 kB / 406.7 MB, free: 17.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009372/0.2107, allocations: 1.224 MB / 407.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2107, allocations: 0 / 407.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2108, allocations: 0 / 407.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2108, allocations: 0 / 407.9 MB, free: 15.87 MB / 298.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.001573/0.2123, allocations: 1.092 MB / 409 MB, free: 14.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2124, allocations: 12.03 kB / 409 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.2125, allocations: 94.69 kB / 409.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.2128, allocations: 103.9 kB / 409.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.2134, allocations: 0.5653 MB / 409.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.2135, allocations: 96.39 kB / 409.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.2135, allocations: 44 kB / 409.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000925/0.2145, allocations: 0.8083 MB / 410.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2145, allocations: 0 / 410.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.2145, allocations: 27.98 kB / 410.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.2146, allocations: 40.97 kB / 410.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.2154, allocations: 0.6868 MB / 411.5 MB, free: 12.14 MB / 298.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.003395/0.2188, allocations: 3.417 MB / 414.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.2193, allocations: 423.4 kB / 415.3 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.2196, allocations: 253.4 kB / 415.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.2208, allocations: 1.346 MB / 416.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.2212, allocations: 349.2 kB / 417.3 MB, free: 5.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2212, allocations: 4 kB / 417.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002823/0.2241, allocations: 1.787 MB / 419.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.2241, allocations: 269 kB / 419.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.2248, allocations: 0.7701 MB / 420.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2248, allocations: 37.7 kB / 420.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.225, allocations: 407 kB / 420.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.2251, allocations: 130.1 kB / 420.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.2252, allocations: 19.94 kB / 420.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.2252, allocations: 390.8 kB / 421.1 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.2256, allocations: 249.5 kB / 421.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.226, allocations: 0.4925 MB / 421.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4121/0.6381, allocations: 67.19 MB / 489 MB, free: 13.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.6381, allocations: 4 kB / 489 MB, free: 13.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001589/0.6397, allocations: 0.9488 MB / 489.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.6399, allocations: 305.1 kB / 490.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6399, allocations: 8 kB / 490.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.6404, allocations: 140.7 kB / 490.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.6409, allocations: 135.8 kB / 490.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005388/0.6415, allocations: 0.681 MB / 491.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.6421, allocations: 52.03 kB / 491.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.6422, allocations: 32 kB / 491.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.6422, allocations: 4 kB / 491.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/0.6435, allocations: 0.8664 MB / 492.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6436, allocations: 7.984 kB / 492.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/0.6439, allocations: 116.8 kB / 492.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.6444, allocations: 135.8 kB / 492.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/0.6449, allocations: 0.6693 MB / 493.1 MB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.6454, allocations: 43.97 kB / 493.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.6455, allocations: 36.05 kB / 493.2 MB, free: 9.418 MB / 378.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.0004584/0.646, allocations: 388.3 kB / 493.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.6461, allocations: 86.91 kB / 493.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.6472, allocations: 0.7025 MB / 494.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6472, allocations: 4 kB / 494.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6472, allocations: 0 / 494.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6473, allocations: 0 / 494.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.6492, allocations: 1.403 MB / 495.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6492, allocations: 0 / 495.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.6495, allocations: 63.91 kB / 495.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.6499, allocations: 128.8 kB / 495.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.65, allocations: 12 kB / 495.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004862/0.6505, allocations: 0.6654 MB / 496.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6505, allocations: 0 / 496.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6518, allocations: 1.022 MB / 497.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.6519, allocations: 156.1 kB / 497.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6521, allocations: 19.92 kB / 497.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.6525, allocations: 40.11 kB / 497.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6526, allocations: 39.88 kB / 497.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.6527, allocations: 19.98 kB / 497.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006195/0.6533, allocations: 0.5302 MB / 498.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6533, allocations: 0 / 498.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001281/0.6546, allocations: 0.5271 MB / 498.9 MB, free: 3.457 MB / 378.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.00252/0.6571, allocations: 1.9 MB / 0.4891 GB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.6592, allocations: 1.185 MB / 0.4903 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6592, allocations: 0 / 0.4903 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1261/0.7852, allocations: 346.8 kB / 0.4906 GB, free: 118.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.787, allocations: 325.8 kB / 0.4909 GB, free: 118.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.7938, allocations: 5.084 MB / 0.4959 GB, free: 116.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.7942, allocations: 0.9656 MB / 0.4968 GB, free: 116 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.7945, allocations: 266.5 kB / 0.4971 GB, free: 115.8 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7945, allocations: 0 / 0.4971 GB, free: 115.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.547/5.341, allocations: 18.48 MB / 0.5151 GB, free: 100.6 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_OneTank_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_OneTank.fmu > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/AST_BatchPlant/Test/OneTank/OneTank.csv","../files/Modelica_3.2.3_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,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,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,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