Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.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 3.2.3+maint.om/package.mo", uses=false) 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 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: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001771/0.001771, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 43.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08397, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.01847/0.1025, allocations: 17.49 MB / 346.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.1112, allocations: 6.587 MB / 352.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.112, allocations: 23.81 kB / 352.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1131, allocations: 381.8 kB / 353.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.1155, allocations: 1.003 MB / 354.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.1197, allocations: 1.901 MB / 356.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.122, allocations: 1.953 MB / 358.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/0.1229, allocations: 0.5136 MB / 358.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.1244, allocations: 0.7747 MB / 359.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1256, allocations: 0.7475 MB / 360.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.1258, allocations: 67.94 kB / 360.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.1277, allocations: 1.119 MB / 361.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.1281, allocations: 263.3 kB / 361.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.1287, allocations: 417.9 kB / 361.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.131, allocations: 1.714 MB / 363.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.131, allocations: 0 / 363.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.131, allocations: 0 / 363.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.131, allocations: 4 kB / 363.7 MB, free: 0.6797 MB / 302.1 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.002185/0.1332, allocations: 1.248 MB / 364.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1333, allocations: 8.031 kB / 364.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.1336, allocations: 96 kB / 365 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.1346, allocations: 0.5928 MB / 365.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/0.1347, allocations: 100.4 kB / 365.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.1348, allocations: 47.98 kB / 365.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.136, allocations: 0.7969 MB / 366.5 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.136, allocations: 4 kB / 366.6 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.1361, allocations: 23.98 kB / 366.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.1362, allocations: 40.98 kB / 366.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1373, allocations: 0.683 MB / 367.3 MB, free: 12.88 MB / 318.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.004456/0.1417, allocations: 3.432 MB / 370.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.1424, allocations: 415 kB / 371.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.1428, allocations: 249.1 kB / 371.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.1445, allocations: 1.35 MB / 372.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.145, allocations: 341.2 kB / 373.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.145, allocations: 0 / 373.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00344/0.1484, allocations: 1.784 MB / 374.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1486, allocations: 272.9 kB / 375.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/0.1494, allocations: 0.7739 MB / 375.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.1495, allocations: 41.69 kB / 375.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1498, allocations: 403.1 kB / 376.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1499, allocations: 130.2 kB / 376.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.1501, allocations: 154.1 kB / 376.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1503, allocations: 386.8 kB / 377 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.1507, allocations: 263.7 kB / 377.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.1513, allocations: 0.5078 MB / 377.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.5411/0.6924, allocations: 67.58 MB / 445.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6924, allocations: 4 kB / 445.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001788/0.6942, allocations: 0.9613 MB / 446.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.6943, allocations: 41.69 kB / 446.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6943, allocations: 4 kB / 446.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.6949, allocations: 141.8 kB / 446.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.6954, allocations: 135.7 kB / 446.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006176/0.6961, allocations: 0.6755 MB / 447.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.6967, allocations: 38.44 kB / 447.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.6968, allocations: 32.62 kB / 447.3 MB, free: 13.95 MB / 334.1 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = "m" fixed = true stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006969/0.6975, allocations: 464.7 kB / 447.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006161/0.6981, allocations: 0.508 MB / 448.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002528/0.7007, allocations: 1.252 MB / 449.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/0.7007, allocations: 5.094 kB / 449.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001687/0.7024, allocations: 0.9438 MB / 450.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.7024, allocations: 48.91 kB / 450.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.7025, allocations: 12.06 kB / 450.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.7029, allocations: 112.8 kB / 450.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.7034, allocations: 135.8 kB / 450.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/0.704, allocations: 0.6718 MB / 451.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.7046, allocations: 39.97 kB / 451.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.7047, allocations: 32 kB / 451.6 MB, free: 9.676 MB / 334.1 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = "m" fixed = true stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" 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],timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.aboveLevel[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[1],$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.705, allocations: 280.5 kB / 451.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.7052, allocations: 84.92 kB / 451.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.7065, allocations: 0.6948 MB / 452.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7065, allocations: 8 kB / 452.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7065, allocations: 0 / 452.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.7065, allocations: 3.938 kB / 452.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.7087, allocations: 1.377 MB / 454 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.7088, allocations: 0 / 454 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.7091, allocations: 59.91 kB / 454.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.7095, allocations: 124.7 kB / 454.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.7096, allocations: 15.98 kB / 454.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/0.7102, allocations: 0.6761 MB / 454.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7102, allocations: 0 / 454.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.7116, allocations: 1.02 MB / 455.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.7118, allocations: 152 kB / 456 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.7119, allocations: 15.98 kB / 456.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.7124, allocations: 28.11 kB / 456.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.7125, allocations: 35.89 kB / 456.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.7125, allocations: 19.98 kB / 456.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006785/0.7132, allocations: 0.5381 MB / 456.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7132, allocations: 0 / 456.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001366/0.7146, allocations: 0.5367 MB / 457.2 MB, free: 4.004 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.7157, allocations: 460.9 kB / 457.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.7177, allocations: 1.17 MB / 458.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7177, allocations: 256 / 458.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.7183, allocations: 359.9 kB / 459.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.7196, allocations: 334.3 kB / 459.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.7218, allocations: 1.457 MB / 461 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.7223, allocations: 0.9618 MB / 461.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007019/0.723, allocations: 254.5 kB / 462.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.7232, allocations: 59.42 kB / 462.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.7232, allocations: 0 / 462.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Templates: time 0.02894/0.7521, allocations: 18.79 MB / 481 MB, free: 12.25 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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:$cse1,$cse4,ambient_fixed.T,ambient_fixed.T_in_internal,ambient_fixed.X[1],ambient_fixed.X_in_internal[1],ambient_fixed.flowDirection,ambient_fixed.medium.T,ambient_fixed.medium.p,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.p_in_internal,ambient_fixed.ports[1].p,flowSource.T,flowSource.T_in_internal,flowSource.X[1],flowSource.X_in_internal[1],flowSource.flowDirection,flowSource.m_flow,flowSource.medium.T,flowSource.medium.p,flowSource.medium.preferredMediumStates,flowSource.medium.standardOrderComponents,flowSource.medium.state.T,flowSource.medium.state.p,flowSource.nPorts,flowSource.ports[1].p,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Re_turbulent,pipe.flowModel.allowFlowReversal,pipe.flowModel.constantPressureLossCoefficient,pipe.flowModel.continuousFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dp_nominal,pipe.flowModel.dp_small,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.momentumDynamics,pipe.flowModel.mu_nominal,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.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.use_mu_nominal,pipe.flowModel.use_rho_nominal,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_exposesState,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.T_ambient,tank.T_start,tank.V0,tank.X_start[1],tank.aboveLevel[1],tank.crossArea,tank.energyDynamics,tank.h_start,tank.heatTransfer.T_ambient,tank.heatTransfer.k,tank.heatTransfer.n,tank.heatTransfer.states[1].p,tank.heatTransfer.use_k,tank.height,tank.hysteresisFactor,tank.initialize_p,tank.level,tank.level_start,tank.m_flow_small,tank.massDynamics,tank.medium.T,tank.medium.p,tank.medium.preferredMediumStates,tank.medium.standardOrderComponents,tank.medium.state.p,tank.nPorts,tank.nTopPorts,tank.p_ambient,tank.p_start,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_height[1],tank.ports_m_flow_out[1],tank.stiffCharacteristicForEmptyPort,tank.substanceDynamics,tank.topPorts[1].h_outflow,tank.topPorts[1].p,tank.traceDynamics,tank.use_HeatTransfer,tank.use_T_start,tank.zetaLarge,time,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,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