Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001037/0.001037, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6092, allocations: 140.3 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.09177/0.701, allocations: 89.13 MB / 1.036 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03398/0.7351, allocations: 22.39 MB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005466/0.7406, allocations: 99.44 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005235/0.7459, allocations: 1.46 MB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.7563, allocations: 3.408 MB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007813/0.7641, allocations: 2.844 MB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009816/0.774, allocations: 7.092 MB / 1.073 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004238/0.7782, allocations: 2.347 MB / 1.075 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006965/0.7852, allocations: 2.773 MB / 1.078 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.7889, allocations: 2.12 MB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.79, allocations: 300 kB / 1.08 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006897/0.797, allocations: 2.46 MB / 1.082 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.7984, allocations: 0.806 MB / 1.083 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.8016, allocations: 1.652 MB / 1.085 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008866/0.8105, allocations: 5.227 MB / 1.09 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.8105, allocations: 0 / 1.09 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8105, allocations: 0 / 1.09 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001466/0.8107, allocations: 0 / 1.09 GB, free: 1.586 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.008069/0.8187, allocations: 3.59 MB / 1.093 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8188, allocations: 8.031 kB / 1.093 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/0.8226, allocations: 0.7428 MB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.8274, allocations: 2.407 MB / 1.096 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008023/0.8282, allocations: 322.2 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.8285, allocations: 180 kB / 1.097 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/0.8326, allocations: 2.034 MB / 1.099 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.8327, allocations: 11.92 kB / 1.099 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.8329, allocations: 64 kB / 1.099 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.8329, allocations: 58.8 kB / 1.099 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.8372, allocations: 1.877 MB / 1.101 GB, free: 6.031 MB / 0.8575 GB 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.0135/0.8507, allocations: 9.478 MB / 1.11 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.8532, allocations: 1.232 MB / 1.111 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.8548, allocations: 0.7394 MB / 1.112 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005436/0.8603, allocations: 3.874 MB / 1.116 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.8621, allocations: 0.8598 MB / 1.117 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008376/0.863, allocations: 154.7 kB / 1.117 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=100): time 2.815e-06/0.863, allocations: 4 kB / 1.117 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100): time 0.004916/0.8679, allocations: 2.11 MB / 1.119 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.868, allocations: 86.11 kB / 1.119 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.8712, allocations: 2.332 MB / 1.121 GB, free: 248 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.8713, allocations: 57.7 kB / 1.121 GB, free: 184 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.8724, allocations: 1.162 MB / 1.122 GB, free: 15 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.8727, allocations: 343.2 kB / 1.123 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.8733, allocations: 335.2 kB / 1.123 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8734, allocations: 365.8 kB / 1.123 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.8754, allocations: 0.8167 MB / 1.124 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.8777, allocations: 1.263 MB / 1.125 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/0.8814, allocations: 1.921 MB / 1.127 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.8814, allocations: 4 kB / 1.127 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005341/0.8867, allocations: 2.427 MB / 1.13 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.8869, allocations: 134.8 kB / 1.13 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.8869, allocations: 12 kB / 1.13 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/0.8869, allocations: 23.98 kB / 1.13 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.8886, allocations: 367.6 kB / 1.13 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/0.8886, allocations: 27.92 kB / 1.13 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/0.8913, allocations: 312.2 kB / 1.131 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.8915, allocations: 87.95 kB / 1.131 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002772/0.8943, allocations: 1.242 MB / 1.132 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00222/0.8966, allocations: 1.248 MB / 1.133 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00362/0.9002, allocations: 1.89 MB / 1.135 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.047e-05/0.9002, allocations: 4 kB / 1.135 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.005338/0.9056, allocations: 2.395 MB / 1.137 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.9057, allocations: 144.5 kB / 1.137 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.9057, allocations: 15.98 kB / 1.137 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9057, allocations: 20 kB / 1.137 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.9073, allocations: 359.5 kB / 1.138 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.393e-05/0.9073, allocations: 27.92 kB / 1.138 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.91, allocations: 318 kB / 1.138 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.9102, allocations: 87.95 kB / 1.138 GB, free: 13.98 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TLoaSet.booPul.y,$PRE.TLoaSet.booPul.y,TSouEnt.booPul.y,$PRE.TSouEnt.booPul.y,pulse.booPul.y,$PRE.pulse.booPul.y,uMod.booPul.y,$PRE.uMod.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004952/0.9107, allocations: 285.7 kB / 1.138 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/0.9113, allocations: 248.9 kB / 1.139 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.9157, allocations: 1.921 MB / 1.141 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.9157, allocations: 15.98 kB / 1.141 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9157, allocations: 0 / 1.141 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003154/0.9189, allocations: 1.472 MB / 1.142 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/0.9266, allocations: 3.956 MB / 1.146 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.9267, allocations: 4.031 kB / 1.146 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.9279, allocations: 247.5 kB / 1.146 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.9279, allocations: 8 kB / 1.146 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.9281, allocations: 31.97 kB / 1.146 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.9281, allocations: 4 kB / 1.146 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9281, allocations: 4 kB / 1.146 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.9335, allocations: 2.676 MB / 1.149 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.9346, allocations: 0.5094 MB / 1.149 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/0.9351, allocations: 20 kB / 1.149 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.937, allocations: 167.7 kB / 1.149 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.9372, allocations: 84.83 kB / 1.149 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.9374, allocations: 59.94 kB / 1.15 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002825/0.9402, allocations: 1.624 MB / 1.151 GB, free: 480 kB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9402, allocations: 0 / 1.151 GB, free: 480 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004216/0.9445, allocations: 1.33 MB / 1.152 GB, free: 15.14 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001647/0.9461, allocations: 0.6414 MB / 1.153 GB, free: 14.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00791/0.954, allocations: 3.564 MB / 1.157 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9541, allocations: 4 kB / 1.157 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.9558, allocations: 0.7713 MB / 1.157 GB, free: 10.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/0.9611, allocations: 1.225 MB / 1.158 GB, free: 8.879 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008584/0.9696, allocations: 5.17 MB / 1.164 GB, free: 3.652 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.9713, allocations: 1.643 MB / 1.165 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00382/0.9751, allocations: 0.622 MB / 1.166 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008206/0.9759, allocations: 195.4 kB / 1.166 GB, free: 1.184 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/0.976, allocations: 0 / 1.166 GB, free: 1.184 MB / 0.92 GB Notification: Performance of Templates: time 0.09147/1.067, allocations: 53.46 MB / 1.218 GB, free: 12.36 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,heaPum.QSou_flow,heaPum.QLoa_flow,uMod.y,heaPum.sta_a1.T,heaPum.sta_b1.T,heaPum.COP,heaPum.PLR Variables in the result:Q_flow.k,TLoaSet.amplitude,TLoaSet.booPul.period,TLoaSet.booPul.shift,TLoaSet.booPul.t0,TLoaSet.booPul.t1,TLoaSet.booPul.width,TLoaSet.booToRea.realFalse,TLoaSet.booToRea.realTrue,TLoaSet.offset,TLoaSet.period,TLoaSet.shift,TLoaSet.width,TSouEnt.amplitude,TSouEnt.booPul.period,TSouEnt.booPul.shift,TSouEnt.booPul.t0,TSouEnt.booPul.t1,TSouEnt.booPul.width,TSouEnt.booToRea.realFalse,TSouEnt.booToRea.realTrue,TSouEnt.offset,TSouEnt.period,TSouEnt.shift,TSouEnt.width,heaPum.COP,heaPum.PLR,heaPum.Q1_flow,heaPum.Q2_flow,heaPum.QLoa_flow,heaPum.QSou_flow,heaPum.Q_flow_small,heaPum.T1_start,heaPum.T2_start,heaPum.X1_start[1],heaPum.X2_start[1],heaPum.allowFlowReversal1,heaPum.allowFlowReversal2,heaPum.computeFlowResistance1,heaPum.computeFlowResistance2,heaPum.deltaM1,heaPum.deltaM2,heaPum.dp1_nominal,heaPum.dp2,heaPum.dp2_nominal,heaPum.energyDynamics,heaPum.equFit.Q_flow_small,heaPum.equFit.mSou_flow,heaPum.equFit.per.coo.P,heaPum.equFit.per.coo.Q_flow,heaPum.equFit.per.coo.TRefLoa,heaPum.equFit.per.coo.TRefSou,heaPum.equFit.per.coo.coeP[1],heaPum.equFit.per.coo.coeP[2],heaPum.equFit.per.coo.coeP[3],heaPum.equFit.per.coo.coeP[4],heaPum.equFit.per.coo.coeP[5],heaPum.equFit.per.coo.coeQ[1],heaPum.equFit.per.coo.coeQ[2],heaPum.equFit.per.coo.coeQ[3],heaPum.equFit.per.coo.coeQ[4],heaPum.equFit.per.coo.coeQ[5],heaPum.equFit.per.coo.mLoa_flow,heaPum.equFit.per.coo.mSou_flow,heaPum.equFit.per.dpHeaLoa_nominal,heaPum.equFit.per.dpHeaSou_nominal,heaPum.equFit.per.hea.P,heaPum.equFit.per.hea.Q_flow,heaPum.equFit.per.hea.TRefLoa,heaPum.equFit.per.hea.TRefSou,heaPum.equFit.per.hea.coeP[1],heaPum.equFit.per.hea.coeP[2],heaPum.equFit.per.hea.coeP[3],heaPum.equFit.per.hea.coeP[4],heaPum.equFit.per.hea.coeP[5],heaPum.equFit.per.hea.coeQ[1],heaPum.equFit.per.hea.coeQ[2],heaPum.equFit.per.hea.coeQ[3],heaPum.equFit.per.hea.coeQ[4],heaPum.equFit.per.hea.coeQ[5],heaPum.equFit.per.hea.mLoa_flow,heaPum.equFit.per.hea.mSou_flow,heaPum.equFit.per.reverseCycle,heaPum.equFit.scaling_factor,heaPum.from_dp1,heaPum.from_dp2,heaPum.h1_outflow_start,heaPum.h2_outflow_start,heaPum.linearizeFlowResistance1,heaPum.linearizeFlowResistance2,heaPum.m1_flow_nominal,heaPum.m1_flow_small,heaPum.m2_flow,heaPum.m2_flow_nominal,heaPum.m2_flow_small,heaPum.mSou_flow.y,heaPum.p1_start,heaPum.p2_start,heaPum.per.coo.P,heaPum.per.coo.Q_flow,heaPum.per.coo.TRefLoa,heaPum.per.coo.TRefSou,heaPum.per.coo.coeP[1],heaPum.per.coo.coeP[2],heaPum.per.coo.coeP[3],heaPum.per.coo.coeP[4],heaPum.per.coo.coeP[5],heaPum.per.coo.coeQ[1],heaPum.per.coo.coeQ[2],heaPum.per.coo.coeQ[3],heaPum.per.coo.coeQ[4],heaPum.per.coo.coeQ[5],heaPum.per.coo.mLoa_flow,heaPum.per.coo.mSou_flow,heaPum.per.dpHeaLoa_nominal,heaPum.per.dpHeaSou_nominal,heaPum.per.hea.P,heaPum.per.hea.Q_flow,heaPum.per.hea.TRefLoa,heaPum.per.hea.TRefSou,heaPum.per.hea.coeP[1],heaPum.per.hea.coeP[2],heaPum.per.hea.coeP[3],heaPum.per.hea.coeP[4],heaPum.per.hea.coeP[5],heaPum.per.hea.coeQ[1],heaPum.per.hea.coeQ[2],heaPum.per.hea.coeQ[3],heaPum.per.hea.coeQ[4],heaPum.per.hea.coeQ[5],heaPum.per.hea.mLoa_flow,heaPum.per.hea.mSou_flow,heaPum.per.reverseCycle,heaPum.port_a2.m_flow,heaPum.port_b1.p,heaPum.port_b2.m_flow,heaPum.port_b2.p,heaPum.preDro1._dp_start,heaPum.preDro1._m_flow_start,heaPum.preDro1.allowFlowReversal,heaPum.preDro1.coeff,heaPum.preDro1.computeFlowResistance,heaPum.preDro1.deltaM,heaPum.preDro1.dp_nominal,heaPum.preDro1.dp_nominal_pos,heaPum.preDro1.eta_default,heaPum.preDro1.from_dp,heaPum.preDro1.k,heaPum.preDro1.linearized,heaPum.preDro1.m_flow_nominal,heaPum.preDro1.m_flow_nominal_pos,heaPum.preDro1.m_flow_small,heaPum.preDro1.m_flow_turbulent,heaPum.preDro1.port_b.p,heaPum.preDro1.sta_default.T,heaPum.preDro1.sta_default.p,heaPum.preDro2._dp_start,heaPum.preDro2._m_flow_start,heaPum.preDro2.allowFlowReversal,heaPum.preDro2.coeff,heaPum.preDro2.computeFlowResistance,heaPum.preDro2.deltaM,heaPum.preDro2.dp,heaPum.preDro2.dp_nominal,heaPum.preDro2.dp_nominal_pos,heaPum.preDro2.eta_default,heaPum.preDro2.from_dp,heaPum.preDro2.k,heaPum.preDro2.linearized,heaPum.preDro2.m_flow,heaPum.preDro2.m_flow_nominal,heaPum.preDro2.m_flow_nominal_pos,heaPum.preDro2.m_flow_small,heaPum.preDro2.m_flow_turbulent,heaPum.preDro2.port_a.m_flow,heaPum.preDro2.port_b.m_flow,heaPum.preDro2.port_b.p,heaPum.preDro2.sta_default.T,heaPum.preDro2.sta_default.p,heaPum.rho1_nominal,heaPum.rho2_nominal,heaPum.scaling_factor,heaPum.sta1_nominal.T,heaPum.sta1_nominal.p,heaPum.sta1_start.T,heaPum.sta1_start.p,heaPum.sta2_nominal.T,heaPum.sta2_nominal.p,heaPum.sta2_start.T,heaPum.sta2_start.p,heaPum.sta_a1.T,heaPum.sta_b1.T,heaPum.sta_b1.p,heaPum.sta_b2.p,heaPum.state_b1_inflow.p,heaPum.state_b2_inflow.p,heaPum.tau1,heaPum.tau2,heaPum.vol1.T_start,heaPum.vol1.V,heaPum.vol1.X_start[1],heaPum.vol1.allowFlowReversal,heaPum.vol1.energyDynamics,heaPum.vol1.mSenFac,heaPum.vol1.m_flow_nominal,heaPum.vol1.m_flow_small,heaPum.vol1.massDynamics,heaPum.vol1.nPorts,heaPum.vol1.p,heaPum.vol1.p_start,heaPum.vol1.ports[1].p,heaPum.vol1.ports[2].p,heaPum.vol1.rho_default,heaPum.vol1.rho_start,heaPum.vol1.state_default.T,heaPum.vol1.state_default.p,heaPum.vol1.state_start.T,heaPum.vol1.state_start.p,heaPum.vol1.steBal._dp_start,heaPum.vol1.steBal._m_flow_start,heaPum.vol1.steBal.aReg,heaPum.vol1.steBal.allowFlowReversal,heaPum.vol1.steBal.bReg,heaPum.vol1.steBal.cReg,heaPum.vol1.steBal.cp_default,heaPum.vol1.steBal.dReg,heaPum.vol1.steBal.deltaInvReg,heaPum.vol1.steBal.deltaReg,heaPum.vol1.steBal.eReg,heaPum.vol1.steBal.fReg,heaPum.vol1.steBal.m_flow_nominal,heaPum.vol1.steBal.m_flow_small,heaPum.vol1.steBal.port_a.p,heaPum.vol1.steBal.port_b.p,heaPum.vol1.steBal.show_T,heaPum.vol1.steBal.state_default.T,heaPum.vol1.steBal.state_default.p,heaPum.vol1.steBal.use_C_flow,heaPum.vol1.steBal.use_mWat_flow,heaPum.vol1.steBal.use_m_flowInv,heaPum.vol1.substanceDynamics,heaPum.vol1.traceDynamics,heaPum.vol1.useSteadyStateTwoPort,heaPum.vol1.use_C_flow,heaPum.vol1.wrongEnergyMassBalanceConfiguration,heaPum.vol2.T_start,heaPum.vol2.V,heaPum.vol2.X_start[1],heaPum.vol2.allowFlowReversal,heaPum.vol2.energyDynamics,heaPum.vol2.mSenFac,heaPum.vol2.m_flow_nominal,heaPum.vol2.m_flow_small,heaPum.vol2.massDynamics,heaPum.vol2.nPorts,heaPum.vol2.p,heaPum.vol2.p_start,heaPum.vol2.ports[1].m_flow,heaPum.vol2.ports[1].p,heaPum.vol2.ports[2].m_flow,heaPum.vol2.ports[2].p,heaPum.vol2.rho_default,heaPum.vol2.rho_start,heaPum.vol2.state_default.T,heaPum.vol2.state_default.p,heaPum.vol2.state_start.T,heaPum.vol2.state_start.p,heaPum.vol2.steBal._dp_start,heaPum.vol2.steBal._m_flow_start,heaPum.vol2.steBal.aReg,heaPum.vol2.steBal.allowFlowReversal,heaPum.vol2.steBal.bReg,heaPum.vol2.steBal.cReg,heaPum.vol2.steBal.cp_default,heaPum.vol2.steBal.dReg,heaPum.vol2.steBal.deltaInvReg,heaPum.vol2.steBal.deltaReg,heaPum.vol2.steBal.eReg,heaPum.vol2.steBal.fReg,heaPum.vol2.steBal.m_flow,heaPum.vol2.steBal.m_flow_nominal,heaPum.vol2.steBal.m_flow_small,heaPum.vol2.steBal.port_a.m_flow,heaPum.vol2.steBal.port_a.p,heaPum.vol2.steBal.port_b.m_flow,heaPum.vol2.steBal.port_b.p,heaPum.vol2.steBal.show_T,heaPum.vol2.steBal.state_default.T,heaPum.vol2.steBal.state_default.p,heaPum.vol2.steBal.use_C_flow,heaPum.vol2.steBal.use_mWat_flow,heaPum.vol2.steBal.use_m_flowInv,heaPum.vol2.substanceDynamics,heaPum.vol2.traceDynamics,heaPum.vol2.useSteadyStateTwoPort,heaPum.vol2.use_C_flow,heaPum.vol2.wrongEnergyMassBalanceConfiguration,mLoa_flow_nominal,mSou_flow_nominal,m_flow.k,per.coo.P,per.coo.Q_flow,per.coo.TRefLoa,per.coo.TRefSou,per.coo.coeP[1],per.coo.coeP[2],per.coo.coeP[3],per.coo.coeP[4],per.coo.coeP[5],per.coo.coeQ[1],per.coo.coeQ[2],per.coo.coeQ[3],per.coo.coeQ[4],per.coo.coeQ[5],per.coo.mLoa_flow,per.coo.mSou_flow,per.dpHeaLoa_nominal,per.dpHeaSou_nominal,per.hea.P,per.hea.Q_flow,per.hea.TRefLoa,per.hea.TRefSou,per.hea.coeP[1],per.hea.coeP[2],per.hea.coeP[3],per.hea.coeP[4],per.hea.coeP[5],per.hea.coeQ[1],per.hea.coeQ[2],per.hea.coeQ[3],per.hea.coeQ[4],per.hea.coeQ[5],per.hea.mLoa_flow,per.hea.mSou_flow,per.reverseCycle,pre.T,pre.T_in_internal,pre.X[1],pre.flowDirection,pre.nPorts,pre.p,pre.ports[1].p,pre.use_C_in,pre.use_T_in,pre.use_X_in,pre.use_Xi_in,pre.use_p_in,pre.verifyInputs,pulse.amplitude,pulse.booPul.period,pulse.booPul.shift,pulse.booPul.t0,pulse.booPul.t1,pulse.booPul.width,pulse.booToRea.realFalse,pulse.booToRea.realTrue,pulse.offset,pulse.period,pulse.shift,pulse.width,pum.T_start,pum.V_flow_max,pum.X_start[1],pum._VMachine_flow,pum._dp_start,pum._m_flow_start,pum.addPowerToMedium,pum.allowFlowReversal,pum.computePowerUsingSimilarityLaws,pum.constInput,pum.constantMassFlowRate,pum.dp_nominal,pum.eff.V_flow_max,pum.eff.V_flow_nominal,pum.eff.computePowerUsingSimilarityLaws,pum.eff.curve,pum.eff.delta,pum.eff.dpMax,pum.eff.haveDPMax,pum.eff.haveMinimumDecrease,pum.eff.haveVMax,pum.eff.hydDer[1],pum.eff.kRes,pum.eff.motDer[1],pum.eff.nOri,pum.eff.pCur1.V_flow[1],pum.eff.pCur1.V_flow[2],pum.eff.pCur1.dp[1],pum.eff.pCur1.dp[2],pum.eff.pCur1.n,pum.eff.pCur2.V_flow[1],pum.eff.pCur2.V_flow[2],pum.eff.pCur2.V_flow[3],pum.eff.pCur2.dp[1],pum.eff.pCur2.dp[2],pum.eff.pCur2.dp[3],pum.eff.pCur2.n,pum.eff.pCur3.V_flow[1],pum.eff.pCur3.V_flow[2],pum.eff.pCur3.V_flow[3],pum.eff.pCur3.V_flow[4],pum.eff.pCur3.dp[1],pum.eff.pCur3.dp[2],pum.eff.pCur3.dp[3],pum.eff.pCur3.dp[4],pum.eff.pCur3.n,pum.eff.per.constantSpeed,pum.eff.per.constantSpeed_rpm,pum.eff.per.havePressureCurve,pum.eff.per.hydraulicEfficiency.V_flow[1],pum.eff.per.hydraulicEfficiency.eta[1],pum.eff.per.motorCooledByFluid,pum.eff.per.motorEfficiency.V_flow[1],pum.eff.per.motorEfficiency.eta[1],pum.eff.per.power.P[1],pum.eff.per.power.V_flow[1],pum.eff.per.pressure.V_flow[1],pum.eff.per.pressure.V_flow[2],pum.eff.per.pressure.dp[1],pum.eff.per.pressure.dp[2],pum.eff.per.speed_nominal,pum.eff.per.speed_rpm_nominal,pum.eff.per.speeds[1],pum.eff.per.speeds_rpm[1],pum.eff.per.use_powerCharacteristic,pum.eff.powDer[1],pum.eff.preDer1[1],pum.eff.preDer1[2],pum.eff.preDer2[1],pum.eff.preDer2[2],pum.eff.preDer2[3],pum.eff.preDer3[1],pum.eff.preDer3[2],pum.eff.preDer3[3],pum.eff.preDer3[4],pum.eff.prePre,pum.eff.preSpe,pum.eff.preVar,pum.eff.rho_default,pum.energyDynamics,pum.fCut,pum.filter.alpha,pum.filter.f,pum.filter.initType,pum.filter.normalized,pum.filter.u_nom,pum.filter.u_nominal,pum.filter.w_u,pum.filter.x_start[1],pum.filter.x_start[2],pum.filter.y_start,pum.h_outflow_start,pum.haveVMax,pum.init,pum.inputType,pum.mSenFac,pum.m_flow_nominal,pum.m_flow_small,pum.m_flow_start,pum.massDynamics,pum.massFlowRates[1],pum.nOri,pum.nominalValuesDefineDefaultPressureCurve,pum.p_start,pum.per.constantSpeed,pum.per.constantSpeed_rpm,pum.per.havePressureCurve,pum.per.hydraulicEfficiency.V_flow[1],pum.per.hydraulicEfficiency.eta[1],pum.per.motorCooledByFluid,pum.per.motorEfficiency.V_flow[1],pum.per.motorEfficiency.eta[1],pum.per.power.P[1],pum.per.power.V_flow[1],pum.per.pressure.V_flow[1],pum.per.pressure.V_flow[2],pum.per.pressure.dp[1],pum.per.pressure.dp[2],pum.per.speed_nominal,pum.per.speed_rpm_nominal,pum.per.speeds[1],pum.per.speeds_rpm[1],pum.per.use_powerCharacteristic,pum.port_a.p,pum.preSou.allowFlowReversal,pum.preSou.control_dp,pum.preSou.control_m_flow,pum.preSou.dp_start,pum.preSou.m_flow_small,pum.preSou.m_flow_start,pum.preSou.port_a.p,pum.preSou.show_T,pum.preSou.show_V_flow,pum.preVar,pum.rho_default,pum.riseTime,pum.senMasFlo.allowFlowReversal,pum.senMasFlo.m_flow_nominal,pum.senMasFlo.m_flow_small,pum.senMasFlo.port_a.p,pum.senMasFlo.port_b.p,pum.senRelPre.port_b.p,pum.speedIsInput,pum.sta_start.T,pum.sta_start.p,pum.stageInputs[1],pum.substanceDynamics,pum.tau,pum.traceDynamics,pum.use_inputFilter,pum.vol.T_start,pum.vol.V,pum.vol.V_nominal,pum.vol.X_start[1],pum.vol.allowFlowReversal,pum.vol.dynBal.CSen,pum.vol.dynBal.T_start,pum.vol.dynBal.X_start[1],pum.vol.dynBal.computeCSen,pum.vol.dynBal.cp_default,pum.vol.dynBal.energyDynamics,pum.vol.dynBal.fluidVolume,pum.vol.dynBal.hStart,pum.vol.dynBal.initialize_p,pum.vol.dynBal.mSenFac,pum.vol.dynBal.massDynamics,pum.vol.dynBal.medium.p,pum.vol.dynBal.medium.preferredMediumStates,pum.vol.dynBal.medium.standardOrderComponents,pum.vol.dynBal.medium.state.p,pum.vol.dynBal.nPorts,pum.vol.dynBal.p_start,pum.vol.dynBal.ports[1].p,pum.vol.dynBal.ports[2].p,pum.vol.dynBal.rho_default,pum.vol.dynBal.rho_start,pum.vol.dynBal.state_default.T,pum.vol.dynBal.state_default.p,pum.vol.dynBal.substanceDynamics,pum.vol.dynBal.traceDynamics,pum.vol.dynBal.use_C_flow,pum.vol.dynBal.use_mWat_flow,pum.vol.dynBal.wrongEnergyMassBalanceConfiguration,pum.vol.energyDynamics,pum.vol.initialize_p,pum.vol.mSenFac,pum.vol.m_flow_nominal,pum.vol.m_flow_small,pum.vol.massDynamics,pum.vol.nPorts,pum.vol.p,pum.vol.p_start,pum.vol.ports[1].p,pum.vol.ports[2].p,pum.vol.rho_default,pum.vol.rho_start,pum.vol.state_default.T,pum.vol.state_default.p,pum.vol.state_start.T,pum.vol.state_start.p,pum.vol.substanceDynamics,pum.vol.tau,pum.vol.traceDynamics,pum.vol.useSteadyStateTwoPort,pum.vol.use_C_flow,pum.vol.wrongEnergyMassBalanceConfiguration,pum.wrongEnergyMassBalanceConfiguration,souPum.T,souPum.X[1],souPum.flowDirection,souPum.m_flow,souPum.m_flow_in_internal,souPum.nPorts,souPum.ports[1].m_flow,souPum.use_C_in,souPum.use_T_in,souPum.use_X_in,souPum.use_Xi_in,souPum.use_m_flow_in,souPum.verifyInputs,souVol.T,souVol.X[1],souVol.d,souVol.flowDirection,souVol.h,souVol.medium.T,souVol.medium.p,souVol.medium.preferredMediumStates,souVol.medium.standardOrderComponents,souVol.medium.state.T,souVol.medium.state.p,souVol.nPorts,souVol.p,souVol.ports[1].m_flow,souVol.ports[1].p,souVol.state.T,souVol.state.p,souVol.use_T,souVol.use_p,time,uMod.amplitude,uMod.booPul.period,uMod.booPul.shift,uMod.booPul.t0,uMod.booPul.t1,uMod.booPul.width,uMod.booToRea.realFalse,uMod.booToRea.realTrue,uMod.offset,uMod.period,uMod.shift,uMod.width,uMod.y,vol.T_start,vol.V,vol.X_start[1],vol.allowFlowReversal,vol.dynBal.CSen,vol.dynBal.T_start,vol.dynBal.X_start[1],vol.dynBal.computeCSen,vol.dynBal.cp_default,vol.dynBal.energyDynamics,vol.dynBal.fluidVolume,vol.dynBal.hStart,vol.dynBal.initialize_p,vol.dynBal.mSenFac,vol.dynBal.massDynamics,vol.dynBal.medium.p,vol.dynBal.medium.preferredMediumStates,vol.dynBal.medium.standardOrderComponents,vol.dynBal.medium.state.p,vol.dynBal.nPorts,vol.dynBal.p_start,vol.dynBal.ports[1].p,vol.dynBal.ports[2].p,vol.dynBal.rho_default,vol.dynBal.rho_start,vol.dynBal.state_default.T,vol.dynBal.state_default.p,vol.dynBal.substanceDynamics,vol.dynBal.traceDynamics,vol.dynBal.use_C_flow,vol.dynBal.use_mWat_flow,vol.dynBal.wrongEnergyMassBalanceConfiguration,vol.energyDynamics,vol.mSenFac,vol.m_flow_nominal,vol.m_flow_small,vol.massDynamics,vol.nPorts,vol.p,vol.p_start,vol.ports[1].p,vol.ports[2].p,vol.rho_default,vol.rho_start,vol.state_default.T,vol.state_default.p,vol.state_start.T,vol.state_start.p,vol.substanceDynamics,vol.traceDynamics,vol.useSteadyStateTwoPort,vol.use_C_flow,vol.wrongEnergyMassBalanceConfiguration