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.001747/0.001747, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.002211/0.002211, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1931/0.1931, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3938, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004021/0.3979, allocations: 2.915 MB / 0.5213 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.3989, allocations: 0.636 MB / 0.5219 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.399, allocations: 4.656 kB / 0.5219 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.3992, allocations: 57.52 kB / 0.5219 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3994, allocations: 90.08 kB / 0.522 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3995, allocations: 89.62 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.4, allocations: 410.5 kB / 0.5225 GB, free: 420 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.4002, allocations: 125.5 kB / 0.5226 GB, free: 360 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.4004, allocations: 148.1 kB / 0.5228 GB, free: 292 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.4006, allocations: 161.2 kB / 0.5229 GB, free: 212 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.4007, allocations: 37.59 kB / 0.523 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.4007, allocations: 34.38 kB / 0.523 GB, free: 208 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.4008, allocations: 70.8 kB / 0.5231 GB, free: 160 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.401, allocations: 172.3 kB / 0.5232 GB, free: 56 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.4015, allocations: 393 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4015, allocations: 0 / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4015, allocations: 1.781 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4015, allocations: 0 / 0.5236 GB, free: 15.9 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.001033/0.4025, allocations: 0.6296 MB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4026, allocations: 10.17 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.344e-05/0.4027, allocations: 66.83 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.4027, allocations: 33.28 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.4031, allocations: 286.3 kB / 0.5246 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.4032, allocations: 20.94 kB / 0.5246 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.4032, allocations: 25.62 kB / 0.5246 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.4038, allocations: 322.5 kB / 0.5249 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4039, allocations: 0 / 0.5249 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.4039, allocations: 12.03 kB / 0.5249 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.4039, allocations: 6.406 kB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.4044, allocations: 245.7 kB / 0.5252 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.4066, allocations: 1.253 MB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.4074, allocations: 467.5 kB / 0.5269 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.4077, allocations: 166.2 kB / 0.527 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4078, allocations: 2.547 kB / 0.527 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.4078, allocations: 34.17 kB / 0.5271 GB, free: 13.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.4078, allocations: 0 / 0.5271 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002698/0.4105, allocations: 1.018 MB / 0.528 GB, free: 12.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4106, allocations: 66.48 kB / 0.5281 GB, free: 12.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4109, allocations: 240.5 kB / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4109, allocations: 30.92 kB / 0.5284 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.411, allocations: 165.7 kB / 0.5285 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.4111, allocations: 89.02 kB / 0.5286 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.4112, allocations: 53.55 kB / 0.5287 GB, free: 12.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4113, allocations: 331.9 kB / 0.529 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.4116, allocations: 109.8 kB / 0.5291 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.4118, allocations: 147 kB / 0.5292 GB, free: 11.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.4123, allocations: 244.4 kB / 0.5295 GB, free: 11.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4123, allocations: 1.219 kB / 0.5295 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001085/0.4134, allocations: 0.4891 MB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4134, allocations: 5.5 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4134, allocations: 1.25 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009631/0.4144, allocations: 231.2 kB / 0.5302 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4145, allocations: 32.45 kB / 0.5302 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.4192, allocations: 3.69 MB / 0.5338 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.4194, allocations: 39.48 kB / 0.5338 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.4194, allocations: 11 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.0001628/0.4196, allocations: 134 kB / 0.534 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.4197, allocations: 25.69 kB / 0.534 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.4197, allocations: 40.3 kB / 0.534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4198, allocations: 2.938 kB / 0.534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.4198, allocations: 6.719 kB / 0.534 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4198, allocations: 4 kB / 0.534 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4216, allocations: 0.8878 MB / 0.5349 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4216, allocations: 7.984 kB / 0.5349 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.4217, allocations: 14.12 kB / 0.5349 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/0.4226, allocations: 241.8 kB / 0.5352 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4226, allocations: 1.125 kB / 0.5352 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.4274, allocations: 3.698 MB / 0.5388 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4274, allocations: 1.156 kB / 0.5388 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4285, allocations: 0.5259 MB / 0.5393 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4287, allocations: 122.5 kB / 0.5394 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4288, allocations: 5.188 kB / 0.5394 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.429, allocations: 28.28 kB / 0.5394 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.4291, allocations: 32.39 kB / 0.5395 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4291, allocations: 5.688 kB / 0.5395 GB, free: 3.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.4293, allocations: 177.3 kB / 0.5396 GB, free: 2.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4294, allocations: 0 / 0.5396 GB, free: 2.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.4299, allocations: 110.2 kB / 0.5398 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.001715/0.4316, allocations: 1.073 MB / 0.5408 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4328, allocations: 0.5548 MB / 0.5413 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4328, allocations: 256 / 0.5413 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.4336, allocations: 444.4 kB / 0.5418 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.4341, allocations: 47.94 kB / 0.5418 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.4392, allocations: 3.026 MB / 0.5448 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4396, allocations: 0.7638 MB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.4398, allocations: 31.98 kB / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4399, allocations: 77.52 kB / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4399, allocations: 0 / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.4722, allocations: 7.351 MB / 0.5528 GB, free: 7.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.398/9.87, allocations: 5.844 kB / 0.5528 GB, free: 7.812 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