Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.00125/0.00125, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2562/0.2562, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.483, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004449/0.4875, allocations: 2.919 MB / 0.5213 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.489, allocations: 0.6422 MB / 0.5219 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.4892, allocations: 5.875 kB / 0.5219 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.4894, allocations: 56.95 kB / 0.5219 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.4896, allocations: 90.34 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.4898, allocations: 93.14 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.4903, allocations: 406 kB / 0.5225 GB, free: 404 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.4906, allocations: 122.9 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.4908, allocations: 143.1 kB / 0.5228 GB, free: 284 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.491, allocations: 161.7 kB / 0.5229 GB, free: 204 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.4911, allocations: 41.31 kB / 0.5229 GB, free: 196 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.4911, allocations: 33.91 kB / 0.523 GB, free: 196 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.4912, allocations: 71.88 kB / 0.523 GB, free: 148 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.4914, allocations: 171.2 kB / 0.5232 GB, free: 44 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.492, allocations: 389.8 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.492, allocations: 4 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.492, allocations: 0 / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.492, allocations: 1.375 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00132/0.4934, allocations: 0.6335 MB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.4934, allocations: 8.969 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.669e-05/0.4935, allocations: 66.52 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.4936, allocations: 34.97 kB / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.4942, allocations: 280.7 kB / 0.5246 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.4942, allocations: 23.34 kB / 0.5246 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.4943, allocations: 25.78 kB / 0.5246 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.4951, allocations: 328.8 kB / 0.5249 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4951, allocations: 3.938 kB / 0.5249 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.4951, allocations: 11.28 kB / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.4951, allocations: 6.781 kB / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.4957, allocations: 241.7 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.4982, allocations: 1.245 MB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.4991, allocations: 472.1 kB / 0.5269 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.4994, allocations: 159 kB / 0.527 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.4994, allocations: 2.984 kB / 0.527 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4995, allocations: 37.02 kB / 0.527 GB, free: 13.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.4995, allocations: 1.375 kB / 0.527 GB, free: 13.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.003206/0.5027, allocations: 1.023 MB / 0.528 GB, free: 12.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.5027, allocations: 54.12 kB / 0.5281 GB, free: 12.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.5031, allocations: 235.8 kB / 0.5283 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.5031, allocations: 31.08 kB / 0.5284 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.5033, allocations: 173.8 kB / 0.5285 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.5034, allocations: 85.94 kB / 0.5286 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5035, allocations: 56.83 kB / 0.5287 GB, free: 12.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5038, allocations: 335.8 kB / 0.529 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.5041, allocations: 102.1 kB / 0.5291 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.5044, allocations: 146 kB / 0.5292 GB, free: 11.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.5051, allocations: 241.9 kB / 0.5294 GB, free: 11.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5051, allocations: 4 kB / 0.5294 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001459/0.5065, allocations: 0.4933 MB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.5066, allocations: 5.188 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5066, allocations: 1.938 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.5078, allocations: 243.2 kB / 0.5302 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.508, allocations: 32.23 kB / 0.5302 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.5132, allocations: 3.674 MB / 0.5338 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.5135, allocations: 39.39 kB / 0.5338 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.5135, allocations: 11.25 kB / 0.5338 GB, free: 7.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.5138, allocations: 138.2 kB / 0.534 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.5139, allocations: 29.23 kB / 0.534 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.514, allocations: 36.34 kB / 0.534 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.514, allocations: 2.375 kB / 0.534 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.514, allocations: 6.125 kB / 0.534 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.514, allocations: 8.859 kB / 0.534 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.516, allocations: 0.8841 MB / 0.5349 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.516, allocations: 0 / 0.5349 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.5162, allocations: 21.8 kB / 0.5349 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009586/0.5171, allocations: 245.5 kB / 0.5352 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5172, allocations: 9.062 kB / 0.5352 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/0.5221, allocations: 3.68 MB / 0.5388 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5221, allocations: 3.938 kB / 0.5388 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.5234, allocations: 0.5298 MB / 0.5393 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.5236, allocations: 122.5 kB / 0.5394 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.5237, allocations: 10.22 kB / 0.5394 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.5239, allocations: 24.05 kB / 0.5394 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.524, allocations: 27.45 kB / 0.5395 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.5241, allocations: 9.656 kB / 0.5395 GB, free: 3.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.5243, allocations: 177.9 kB / 0.5396 GB, free: 2.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5243, allocations: 0 / 0.5396 GB, free: 2.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005672/0.5249, allocations: 107.2 kB / 0.5397 GB, free: 2.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.5264, allocations: 1.077 MB / 0.5408 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.5277, allocations: 0.5585 MB / 0.5413 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.5277, allocations: 1.375 kB / 0.5413 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.5285, allocations: 439.7 kB / 0.5418 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.529, allocations: 47.61 kB / 0.5418 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.5352, allocations: 3.033 MB / 0.5448 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.5358, allocations: 0.7667 MB / 0.5455 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.5359, allocations: 23.95 kB / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.5361, allocations: 77.81 kB / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5361, allocations: 0 / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.572, allocations: 7.358 MB / 0.5528 GB, free: 7.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/10.12, allocations: 8.953 kB / 0.5528 GB, free: 7.781 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/Ideal/IdealTwoWaySwitches/IdealTwoWaySwitches.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,twoWay.LossPower,twoWay.p.i,twoWay.n1.v,twoWay.n1.i,twoWay.n2.v,twoWay.n2.i,controlledTwoWay.LossPower,controlledTwoWay.p.i,controlledTwoWay.n1.v,controlledTwoWay.n1.i,controlledTwoWay.n2.v,controlledTwoWay.n2.i Variables in the result:booleanStep.startTime,booleanStep.startValue,booleanStep.y,constantVoltage.V,constantVoltage.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,controlledTwoWay.Goff,controlledTwoWay.LossPower,controlledTwoWay.Ron,controlledTwoWay.T,controlledTwoWay.T_heatPort,controlledTwoWay.control.i,controlledTwoWay.control.v,controlledTwoWay.level,controlledTwoWay.n1.i,controlledTwoWay.n1.v,controlledTwoWay.n2.i,controlledTwoWay.n2.v,controlledTwoWay.p.i,controlledTwoWay.p.v,controlledTwoWay.useHeatPort,ground.p.i,ground.p.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,r3.LossPower,r3.R,r3.R_actual,r3.T,r3.T_heatPort,r3.T_ref,r3.alpha,r3.i,r3.n.i,r3.n.v,r3.p.i,r3.p.v,r3.useHeatPort,r3.v,r4.LossPower,r4.R,r4.R_actual,r4.T,r4.T_heatPort,r4.T_ref,r4.alpha,r4.i,r4.n.i,r4.n.v,r4.p.i,r4.p.v,r4.useHeatPort,r4.v,time,twoWay.Goff,twoWay.LossPower,twoWay.Ron,twoWay.T,twoWay.T_heatPort,twoWay.control,twoWay.n1.i,twoWay.n1.v,twoWay.n2.i,twoWay.n2.v,twoWay.p.i,twoWay.p.v,twoWay.useHeatPort