Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.996/2.996, allocations: 226.5 MB / 245.3 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 99.27 kB / 297.4 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004274, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6175, allocations: 51.3 MB / 408.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.93/13.55, allocations: 2.757 GB / 3.156 GB, free: 142.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/13.55, allocations: 80.45 kB / 3.156 GB, free: 142.5 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.274/16.82, allocations: 0.4991 GB / 3.655 GB, free: 11.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.769e-06/16.82, allocations: 0 / 3.655 GB, free: 11.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002626/16.82, allocations: 37 kB / 3.655 GB, free: 11.46 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.02371/16.84, allocations: 2.33 MB / 3.657 GB, free: 9.109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.102e-05/16.84, allocations: 8.875 kB / 3.657 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/16.86, allocations: 0.7116 MB / 3.658 GB, free: 8.395 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/16.86, allocations: 0.9546 MB / 3.659 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/16.86, allocations: 74.02 kB / 3.659 GB, free: 7.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005572/16.86, allocations: 96 kB / 3.659 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006996/16.87, allocations: 1.724 MB / 3.661 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/16.87, allocations: 7.938 kB / 3.661 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/16.87, allocations: 47.94 kB / 3.661 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/16.87, allocations: 28 kB / 3.661 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/16.88, allocations: 1.518 MB / 3.662 GB, free: 3.781 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7787/17.66, allocations: 8.544 MB / 3.671 GB, free: 41.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005493/17.67, allocations: 1.729 MB / 3.672 GB, free: 41.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/17.67, allocations: 431.1 kB / 3.673 GB, free: 41.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2646/17.93, allocations: 69.98 MB / 3.741 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/17.93, allocations: 38.94 kB / 3.741 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 8.777e-06/17.93, allocations: 0 / 3.741 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=77): time 0.01603/17.95, allocations: 2.126 MB / 3.743 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002159/17.95, allocations: 188.2 kB / 3.743 GB, free: 26.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/17.95, allocations: 1.064 MB / 3.744 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003252/17.95, allocations: 38.64 kB / 3.744 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009294/17.95, allocations: 0.5713 MB / 3.745 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007757/17.96, allocations: 273.9 kB / 3.745 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/17.96, allocations: 21.34 kB / 3.745 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003481/17.96, allocations: 353.7 kB / 3.746 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/17.96, allocations: 339.3 kB / 3.746 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/17.96, allocations: 0.7567 MB / 3.747 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/17.96, allocations: 1.16 MB / 3.748 GB, free: 25.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/17.96, allocations: 3 kB / 3.748 GB, free: 25.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009538/17.97, allocations: 1.323 MB / 3.749 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/17.97, allocations: 11.16 kB / 3.749 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/17.97, allocations: 17.03 kB / 3.749 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/17.98, allocations: 0.8412 MB / 3.75 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/17.99, allocations: 308.1 kB / 3.75 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/17.99, allocations: 1.559 MB / 3.752 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/18, allocations: 161.6 kB / 3.752 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/18, allocations: 67.58 kB / 3.752 GB, free: 23.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.001119/18, allocations: 293.9 kB / 3.752 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/18, allocations: 120.6 kB / 3.752 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/18.01, allocations: 4.58 MB / 3.757 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.127e-05/18.01, allocations: 48.66 kB / 3.757 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/18.01, allocations: 3.125 kB / 3.757 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/18.01, allocations: 3.047 kB / 3.757 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/18.03, allocations: 5.133 MB / 3.762 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/18.03, allocations: 3 kB / 3.762 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/18.03, allocations: 186.5 kB / 3.762 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/18.04, allocations: 1.914 MB / 3.764 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/18.04, allocations: 22.73 kB / 3.764 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/18.05, allocations: 1.939 MB / 3.766 GB, free: 20.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/18.05, allocations: 0 / 3.766 GB, free: 20.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009089/18.06, allocations: 2.097 MB / 3.768 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/18.06, allocations: 364.9 kB / 3.768 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/18.06, allocations: 13.31 kB / 3.768 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/18.06, allocations: 67.41 kB / 3.768 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/18.06, allocations: 53.55 kB / 3.768 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/18.06, allocations: 37.16 kB / 3.768 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006511/18.07, allocations: 0.908 MB / 3.769 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.774e-06/18.07, allocations: 0 / 3.769 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01497/18.08, allocations: 1.352 MB / 3.771 GB, free: 20.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02/18.1, allocations: 1.76 MB / 3.772 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01034/18.11, allocations: 1.358 MB / 3.774 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/18.11, allocations: 0 / 3.774 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/18.12, allocations: 0.9928 MB / 3.775 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007293/18.12, allocations: 0.695 MB / 3.775 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/18.14, allocations: 3.787 MB / 3.779 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/18.14, allocations: 1.306 MB / 3.78 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008143/18.14, allocations: 117.8 kB / 3.78 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.824e-06/18.14, allocations: 3.969 kB / 3.78 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.1553/18.3, allocations: 52.42 MB / 3.832 GB, free: 4.777 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & ./Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Explanatory/MomentumBalanceFittings/MomentumBalanceFittings.csv","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,suddenExpansion1.dp,suddenExpansion1.m_flow,suddenExpansion1.port_b_T,suddenExpansion2.dp,suddenExpansion2.m_flow,suddenExpansion2.port_b_T Variables in the result:suddenExpansion1.dp,suddenExpansion1.m_flow,suddenExpansion1.port_b_T,suddenExpansion2.dp,suddenExpansion2.m_flow,suddenExpansion2.port_b_T,time