Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|tow.TApp_nominal|tow.TAppAct|tow.TRan|tow.FRAir|tow.FRWat|tow.PFan|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|tow.TApp_nominal|tow.TAppAct|tow.TRan|tow.FRAir|tow.FRWat|tow.PFan|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001282/0.001282, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6155, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.07903/0.6946, allocations: 83.84 MB / 1.036 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.8603, allocations: 152.3 MB / 1.185 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004245/0.8646, allocations: 91.44 kB / 1.185 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.8676, allocations: 0.9509 MB / 1.186 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007481/0.8751, allocations: 2.765 MB / 1.189 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006374/0.8814, allocations: 2.408 MB / 1.191 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008737/0.8902, allocations: 7.523 MB / 1.198 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.8934, allocations: 2.253 MB / 1.201 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.897, allocations: 2.034 MB / 1.203 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.8992, allocations: 1.839 MB / 1.204 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000295/0.8996, allocations: 108 kB / 1.205 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.9035, allocations: 1.802 MB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006629/0.9042, allocations: 0.638 MB / 1.207 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.9049, allocations: 0.6288 MB / 1.208 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.9095, allocations: 4.049 MB / 1.212 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9096, allocations: 0 / 1.212 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9096, allocations: 0 / 1.212 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.494e-05/0.9096, allocations: 0 / 1.212 GB, free: 7.551 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 563 * Number of variables: 563 Notification: Performance of Generate backend data structure: time 0.006033/0.9157, allocations: 3.368 MB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9157, allocations: 11.97 kB / 1.215 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.9186, allocations: 0.6789 MB / 1.215 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.923, allocations: 2.45 MB / 1.218 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.9232, allocations: 172.4 kB / 1.218 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.9235, allocations: 228 kB / 1.218 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.9279, allocations: 2.58 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.928, allocations: 4 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.9282, allocations: 96 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.9283, allocations: 88.08 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.933, allocations: 2.491 MB / 1.223 GB, free: 11.04 MB / 0.9825 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.01356/0.9466, allocations: 10.49 MB / 1.234 GB, free: 132 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.9497, allocations: 1.715 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.9513, allocations: 0.8286 MB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006778/0.9581, allocations: 5.314 MB / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001912/0.96, allocations: 1.025 MB / 1.242 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005254/0.9605, allocations: 166.3 kB / 1.242 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=161): time 3.186e-06/0.9605, allocations: 0 / 1.242 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=161): time 0.005779/0.9663, allocations: 2.574 MB / 1.245 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.9664, allocations: 201.2 kB / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.9693, allocations: 2.238 MB / 1.247 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.9694, allocations: 61.7 kB / 1.247 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.9704, allocations: 1.29 MB / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.4809/1.451, allocations: 0.5305 MB / 1.249 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.452, allocations: 38.78 kB / 1.249 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.452, allocations: 382 kB / 1.25 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/1.454, allocations: 0.7434 MB / 1.25 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/1.456, allocations: 1.345 MB / 1.252 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/1.458, allocations: 0.8864 MB / 1.252 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.458, allocations: 6.469 kB / 1.253 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005993/1.464, allocations: 2.42 MB / 1.255 GB, free: 279.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.464, allocations: 488.3 kB / 1.255 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/1.464, allocations: 12.53 kB / 1.255 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/1.464, allocations: 98.06 kB / 1.255 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/1.467, allocations: 494.3 kB / 1.256 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.469, allocations: 2.133 MB / 1.258 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.471, allocations: 212 kB / 1.258 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/1.471, allocations: 101.2 kB / 1.258 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.471, allocations: 8.422 kB / 1.258 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00493/1.476, allocations: 2.103 MB / 1.26 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.476, allocations: 12.72 kB / 1.26 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/1.477, allocations: 103.6 kB / 1.26 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.479, allocations: 476.6 kB / 1.261 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.48, allocations: 2.133 MB / 1.263 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.483, allocations: 197.7 kB / 1.263 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.483, allocations: 105.4 kB / 1.263 GB, free: 273.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.onOffCon.y,onOffCon.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 2 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001521/1.484, allocations: 0.684 MB / 1.264 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.485, allocations: 275.3 kB / 1.264 GB, free: 273 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/1.49, allocations: 2.446 MB / 1.267 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/1.49, allocations: 22.75 kB / 1.267 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.49, allocations: 0 / 1.267 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003822/1.494, allocations: 1.998 MB / 1.269 GB, free: 271.2 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.007985/1.502, allocations: 4.736 MB / 1.273 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.502, allocations: 6.375 kB / 1.273 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.503, allocations: 352.8 kB / 1.274 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/1.504, allocations: 93.58 kB / 1.274 GB, free: 268.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.504, allocations: 56.05 kB / 1.274 GB, free: 268.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/1.505, allocations: 1.549 MB / 1.275 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.506, allocations: 1.031 kB / 1.275 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/1.512, allocations: 3.243 MB / 1.278 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.513, allocations: 0.5838 MB / 1.279 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/1.513, allocations: 43.11 kB / 1.279 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.515, allocations: 199.3 kB / 1.279 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/1.515, allocations: 145.8 kB / 1.279 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.515, allocations: 81.44 kB / 1.279 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00228/1.517, allocations: 1.482 MB / 1.281 GB, free: 264 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.517, allocations: 0 / 1.281 GB, free: 264 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003594/1.521, allocations: 1.569 MB / 1.282 GB, free: 263.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],vol.dynBal.U,TEnt.T,conFan.I.y) * Number of discrete variables: 11 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,onOffCon.y) * Number of discrete states: 6 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/1.523, allocations: 1.083 MB / 1.283 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005674/1.529, allocations: 3.304 MB / 1.287 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.529, allocations: 2.281 kB / 1.287 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/1.531, allocations: 1.102 MB / 1.288 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004213/1.535, allocations: 1.189 MB / 1.289 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/1.543, allocations: 6.385 MB / 1.295 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009433/1.544, allocations: 1.832 MB / 1.297 GB, free: 252.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002913/1.547, allocations: 0.8144 MB / 1.298 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/1.547, allocations: 263.3 kB / 1.298 GB, free: 251.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.547, allocations: 0 / 1.298 GB, free: 251.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.06952/1.617, allocations: 52.3 MB / 1.349 GB, free: 199.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,TEnt.T,tow.TLvg,tow.TAir,tow.TApp_nominal,tow.TAppAct,tow.TRan,tow.FRAir,tow.FRWat,tow.PFan,conFan.u_s,conFan.u_m,onOffCon.u,onOffCon.reference Variables in the result:TEnt.T,TEnt.TAmb,TEnt.T_start,TEnt.allowFlowReversal,TEnt.dynamic,TEnt.initType,TEnt.m_flow_nominal,TEnt.m_flow_small,TEnt.ratTau,TEnt.tau,TEnt.tauHeaTra,TEnt.tauHeaTraInv,TEnt.tauInv,TEnt.transferHeat,TSetLea.k,TSetLea.y,TSwi.k,TSwi.y,conFan.Dzero.k,conFan.I.initType,conFan.I.k,conFan.I.reset,conFan.I.y_reset,conFan.I.y_start,conFan.Nd,conFan.Ni,conFan.P.k,conFan.Td,conFan.Ti,conFan.addI.k1,conFan.addI.k2,conFan.addI.k3,conFan.addI.u1,conFan.addP.k1,conFan.addP.k2,conFan.addP.u1,conFan.addPID.k1,conFan.addPID.k2,conFan.addPID.k3,conFan.addSat.k1,conFan.addSat.k2,conFan.controllerType,conFan.gainPID.k,conFan.gainTrack.k,conFan.initType,conFan.k,conFan.limiter.limitsAtInit,conFan.limiter.strict,conFan.limiter.uMax,conFan.limiter.uMin,conFan.reset,conFan.revAct,conFan.reverseActing,conFan.strict,conFan.u_m,conFan.u_s,conFan.wd,conFan.with_D,conFan.with_I,conFan.wp,conFan.xd_start,conFan.xi_start,conFan.yMax,conFan.yMin,conFan.y_reset,conFan.y_start,exp.T,exp.T_in_internal,exp.X[1],exp.flowDirection,exp.nPorts,exp.p,exp.ports[1].p,exp.use_C_in,exp.use_T_in,exp.use_X_in,exp.use_Xi_in,exp.use_p_in,exp.verifyInputs,fixHeaFlo.Q_flow,fixHeaFlo.T_ref,fixHeaFlo.alpha,m_flow.k,m_flow.y,m_flow_nominal,onOffCon.bandwidth,onOffCon.pre_y_start,onOffCon.reference,onOffCon.u,pum.PToMed.k1,pum.PToMed.k2,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.heaDis.delta_V_flow,pum.heaDis.motorCooledByFluid,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.prePow.T_ref,pum.prePow.alpha,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,swi.u1,swi.u3,time,tow.FRAir,tow.FRWat,tow.FRWat0,tow.PFan,tow.PFan_nominal,tow.TAir,tow.TAirInWB_nominal,tow.TAppAct,tow.TApp_nominal,tow.TLvg,tow.TRan,tow.TRan_nominal,tow.TWatIn_nominal,tow.TWatOut_nominal,tow.T_start,tow.X_start[1],tow._dp_start,tow._m_flow_start,tow.allowFlowReversal,tow.computeFlowResistance,tow.deltaM,tow.dp_nominal,tow.energyDynamics,tow.fanRelPow.r_P[1],tow.fanRelPow.r_P[2],tow.fanRelPow.r_P[3],tow.fanRelPow.r_P[4],tow.fanRelPow.r_P[5],tow.fanRelPow.r_V[1],tow.fanRelPow.r_V[2],tow.fanRelPow.r_V[3],tow.fanRelPow.r_V[4],tow.fanRelPow.r_V[5],tow.fanRelPowDer[1],tow.fanRelPowDer[2],tow.fanRelPowDer[3],tow.fanRelPowDer[4],tow.fanRelPowDer[5],tow.fraFreCon,tow.fraPFan_nominal,tow.from_dp,tow.h_outflow_start,tow.linearizeFlowResistance,tow.mWat_flow_nominal,tow.m_flow_nominal,tow.m_flow_small,tow.p_start,tow.port_b.p,tow.preDro._dp_start,tow.preDro._m_flow_start,tow.preDro.allowFlowReversal,tow.preDro.coeff,tow.preDro.computeFlowResistance,tow.preDro.deltaM,tow.preDro.dp_nominal,tow.preDro.dp_nominal_pos,tow.preDro.eta_default,tow.preDro.from_dp,tow.preDro.k,tow.preDro.linearized,tow.preDro.m_flow_nominal,tow.preDro.m_flow_nominal_pos,tow.preDro.m_flow_small,tow.preDro.m_flow_turbulent,tow.preDro.port_b.p,tow.preDro.sta_default.T,tow.preDro.sta_default.p,tow.preHea.T_ref,tow.preHea.alpha,tow.rho_default,tow.sta_b.p,tow.sta_default.T,tow.sta_default.p,tow.sta_start.T,tow.sta_start.p,tow.tau,tow.vol.T_start,tow.vol.V,tow.vol.X_start[1],tow.vol.allowFlowReversal,tow.vol.dynBal.CSen,tow.vol.dynBal.T_start,tow.vol.dynBal.X_start[1],tow.vol.dynBal.computeCSen,tow.vol.dynBal.cp_default,tow.vol.dynBal.energyDynamics,tow.vol.dynBal.fluidVolume,tow.vol.dynBal.hStart,tow.vol.dynBal.initialize_p,tow.vol.dynBal.mSenFac,tow.vol.dynBal.massDynamics,tow.vol.dynBal.medium.p,tow.vol.dynBal.medium.preferredMediumStates,tow.vol.dynBal.medium.standardOrderComponents,tow.vol.dynBal.medium.state.p,tow.vol.dynBal.nPorts,tow.vol.dynBal.p_start,tow.vol.dynBal.ports[1].p,tow.vol.dynBal.ports[2].p,tow.vol.dynBal.rho_default,tow.vol.dynBal.rho_start,tow.vol.dynBal.state_default.T,tow.vol.dynBal.state_default.p,tow.vol.dynBal.substanceDynamics,tow.vol.dynBal.traceDynamics,tow.vol.dynBal.use_C_flow,tow.vol.dynBal.use_mWat_flow,tow.vol.dynBal.wrongEnergyMassBalanceConfiguration,tow.vol.energyDynamics,tow.vol.mSenFac,tow.vol.m_flow_nominal,tow.vol.m_flow_small,tow.vol.massDynamics,tow.vol.nPorts,tow.vol.p,tow.vol.p_start,tow.vol.ports[1].p,tow.vol.ports[2].p,tow.vol.rho_default,tow.vol.rho_start,tow.vol.state_default.T,tow.vol.state_default.p,tow.vol.state_start.T,tow.vol.state_start.p,tow.vol.substanceDynamics,tow.vol.traceDynamics,tow.vol.useSteadyStateTwoPort,tow.vol.use_C_flow,tow.vol.wrongEnergyMassBalanceConfiguration,tow.yMin,vol.T,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.ports[3].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.ports[3].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,weaBus.TWetBul,weaBus.alt,weaBus.lat,weaBus.lon,weaBus.pAtm,weaDat.HInfHor,weaDat.TBlaSky,weaDat.TBlaSkyCom.calTSky,weaDat.TBlaSkySel.datSou,weaDat.TBlaSkySel.p,weaDat.TDewPoi,weaDat.TDewPoiSel.datSou,weaDat.TDewPoiSel.p,weaDat.TDryBul,weaDat.TDryBulSel.datSou,weaDat.TDryBulSel.p,weaDat.add30Min.k1,weaDat.add30Min.k2,weaDat.alt,weaDat.altitude.Altitude,weaDat.altitude.y,weaDat.calTSky,weaDat.ceiHei,weaDat.ceiHeiSel.datSou,weaDat.ceiHeiSel.p,weaDat.chePre.PIn,weaDat.chePre.pAtm,weaDat.cheTemBlaSky.TMax,weaDat.cheTemBlaSky.TMin,weaDat.cheTemDewPoi.TMax,weaDat.cheTemDewPoi.TMin,weaDat.cheTemDryBul.TMax,weaDat.cheTemDryBul.TMin,weaDat.computeWetBulbTemperature,weaDat.con30Min.k,weaDat.conOpaSkyCov.k,weaDat.conRelHum.k,weaDat.conTim.canRepeatWeatherFile,weaDat.conTim.lenWea,weaDat.conTim.weaDatEndTim,weaDat.conTim.weaDatStaTim,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTimMin.lenWea,weaDat.conTimMin.weaDatEndTim,weaDat.conTimMin.weaDatStaTim,weaDat.conTotSkyCov.k,weaDat.datRea.columns[10],weaDat.datRea.columns[11],weaDat.datRea.columns[12],weaDat.datRea.columns[13],weaDat.datRea.columns[14],weaDat.datRea.columns[15],weaDat.datRea.columns[16],weaDat.datRea.columns[17],weaDat.datRea.columns[18],weaDat.datRea.columns[19],weaDat.datRea.columns[1],weaDat.datRea.columns[20],weaDat.datRea.columns[21],weaDat.datRea.columns[22],weaDat.datRea.columns[23],weaDat.datRea.columns[24],weaDat.datRea.columns[25],weaDat.datRea.columns[26],weaDat.datRea.columns[2],weaDat.datRea.columns[3],weaDat.datRea.columns[4],weaDat.datRea.columns[5],weaDat.datRea.columns[6],weaDat.datRea.columns[7],weaDat.datRea.columns[8],weaDat.datRea.columns[9],weaDat.datRea.extrapolation,weaDat.datRea.nout,weaDat.datRea.smoothness,weaDat.datRea.tableOnFile,weaDat.datRea.u_max,weaDat.datRea.u_min,weaDat.datRea.verboseExtrapolation,weaDat.datRea.verboseRead,weaDat.datRea30Min.columns[1],weaDat.datRea30Min.columns[2],weaDat.datRea30Min.columns[3],weaDat.datRea30Min.extrapolation,weaDat.datRea30Min.nout,weaDat.datRea30Min.smoothness,weaDat.datRea30Min.tableOnFile,weaDat.datRea30Min.u_max,weaDat.datRea30Min.u_min,weaDat.datRea30Min.verboseExtrapolation,weaDat.datRea30Min.verboseRead,weaDat.decAng.canRepeatWeatherFile,weaDat.decAng.lenWea,weaDat.decAng.weaDatEndTim,weaDat.decAng.weaDatStaTim,weaDat.eqnTim.canRepeatWeatherFile,weaDat.eqnTim.lenWea,weaDat.eqnTim.weaDatEndTim,weaDat.eqnTim.weaDatStaTim,weaDat.horInfRadSel.datSou,weaDat.horInfRadSel.p,weaDat.lat,weaDat.latitude.latitude,weaDat.latitude.y,weaDat.locTim.canRepeatWeatherFile,weaDat.locTim.diff,weaDat.locTim.lenWea,weaDat.locTim.lon,weaDat.locTim.timZon,weaDat.locTim.weaDatEndTim,weaDat.locTim.weaDatStaTim,weaDat.lon,weaDat.longitude.longitude,weaDat.longitude.y,weaDat.opaSkyCov,weaDat.opaSkyCovSel.datSou,weaDat.opaSkyCovSel.p,weaDat.pAtm,weaDat.pAtmSel.datSou,weaDat.pAtmSel.p,weaDat.pAtmSel.y,weaDat.relHum,weaDat.relHumSel.datSou,weaDat.relHumSel.p,weaDat.souSelRad.datSou,weaDat.tWetBul_TDryBulXi.approximateWetBulb,weaDat.tWetBul_TDryBulXi.p,weaDat.timZon,weaDat.timeSpan[1],weaDat.timeSpan[2],weaDat.totSkyCov,weaDat.totSkyCovSel.datSou,weaDat.totSkyCovSel.p,weaDat.weaBus.alt,weaDat.weaBus.lat,weaDat.weaBus.lon,weaDat.weaBus.pAtm,weaDat.winDir,weaDat.winDirSel.datSou,weaDat.winDirSel.p,weaDat.winSpe,weaDat.winSpeSel.datSou,weaDat.winSpeSel.p,weaDat.zenAng.lat,zer.k,zer.y