Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",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.007522/0.007522, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001756/0.001756, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.538/2.538, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.88 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.6924/0.9859, allocations: 67.46 MB / 1.273 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0285/1.014, allocations: 18.59 MB / 1.291 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004168/1.019, allocations: 96.03 kB / 1.291 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006673/1.025, allocations: 1.977 MB / 1.293 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00998/1.035, allocations: 2.821 MB / 1.296 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007302/1.043, allocations: 2.449 MB / 1.298 GB, free: 8.523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0136/1.056, allocations: 8.269 MB / 1.307 GB, free: 5.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/1.06, allocations: 1.932 MB / 1.308 GB, free: 4.305 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/1.065, allocations: 2.143 MB / 1.311 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/1.068, allocations: 1.564 MB / 1.312 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000557/1.069, allocations: 200.8 kB / 1.312 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005896/1.075, allocations: 2.147 MB / 1.314 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/1.076, allocations: 0.7082 MB / 1.315 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/1.078, allocations: 1.322 MB / 1.316 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008577/1.087, allocations: 4.238 MB / 1.32 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.087, allocations: 0 / 1.32 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/1.087, allocations: 0 / 1.32 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.008e-05/1.087, allocations: 0 / 1.32 GB, free: 15.04 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006567/1.094, allocations: 3.103 MB / 1.324 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.094, allocations: 10.44 kB / 1.324 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/1.094, allocations: 190.8 kB / 1.324 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/1.096, allocations: 484.6 kB / 1.324 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/1.101, allocations: 2.862 MB / 1.327 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/1.101, allocations: 106.6 kB / 1.327 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/1.102, allocations: 140 kB / 1.327 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/1.104, allocations: 1.442 MB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/1.104, allocations: 5.094 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.104, allocations: 60.69 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/1.104, allocations: 47.56 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/1.107, allocations: 1.12 MB / 1.33 GB, free: 10.04 MB / 1.029 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.009999/1.117, allocations: 7.741 MB / 1.337 GB, free: 3.922 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/1.119, allocations: 1.276 MB / 1.339 GB, free: 2.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/1.12, allocations: 462.2 kB / 1.339 GB, free: 2.711 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005164/1.125, allocations: 2.712 MB / 1.342 GB, free: 324 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.126, allocations: 476.7 kB / 1.342 GB, free: 20 kB / 1.029 GB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/1.126, allocations: 0 / 1.342 GB, free: 20 kB / 1.029 GB Notification: Performance of matching and sorting (n=62): time 0.00312/1.129, allocations: 1.242 MB / 1.343 GB, free: 15.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.129, allocations: 114.1 kB / 1.343 GB, free: 15.21 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/1.132, allocations: 2.065 MB / 1.346 GB, free: 14.08 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/1.132, allocations: 48.86 kB / 1.346 GB, free: 14.04 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/1.133, allocations: 1.028 MB / 1.347 GB, free: 13.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/1.134, allocations: 232 kB / 1.347 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004666/1.134, allocations: 311 kB / 1.347 GB, free: 12.76 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/1.134, allocations: 302.4 kB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.135, allocations: 0.5473 MB / 1.348 GB, free: 12.19 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/1.137, allocations: 0.9644 MB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/1.139, allocations: 1.425 MB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.139, allocations: 7.219 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003277/1.142, allocations: 1.753 MB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/1.142, allocations: 36.42 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.142, allocations: 11.25 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/1.142, allocations: 16.75 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.143, allocations: 299.8 kB / 1.352 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.052e-05/1.143, allocations: 29.61 kB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.145, allocations: 180.2 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.145, allocations: 65.42 kB / 1.353 GB, free: 9.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001804/1.147, allocations: 0.976 MB / 1.354 GB, free: 8.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00129/1.148, allocations: 0.9601 MB / 1.354 GB, free: 7.891 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002171/1.15, allocations: 1.427 MB / 1.356 GB, free: 6.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/1.15, allocations: 4.125 kB / 1.356 GB, free: 6.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003101/1.153, allocations: 1.745 MB / 1.358 GB, free: 6.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/1.153, allocations: 45.89 kB / 1.358 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.153, allocations: 19.91 kB / 1.358 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.153, allocations: 16.84 kB / 1.358 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.154, allocations: 300.7 kB / 1.358 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.155, allocations: 19.72 kB / 1.358 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/1.156, allocations: 151.3 kB / 1.358 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/1.156, allocations: 65.77 kB / 1.358 GB, free: 5.781 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003639/1.156, allocations: 257.3 kB / 1.358 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.157, allocations: 207.3 kB / 1.359 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/1.159, allocations: 1.07 MB / 1.36 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.159, allocations: 13.55 kB / 1.36 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.159, allocations: 0 / 1.36 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/1.161, allocations: 0.7744 MB / 1.36 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/1.166, allocations: 2.895 MB / 1.363 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.166, allocations: 6.156 kB / 1.363 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/1.166, allocations: 160 kB / 1.363 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/1.166, allocations: 25.25 kB / 1.363 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/1.167, allocations: 26.8 kB / 1.363 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009787/1.168, allocations: 1.418 MB / 1.365 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.168, allocations: 9.406 kB / 1.365 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/1.17, allocations: 1.599 MB / 1.366 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00081/1.171, allocations: 416.8 kB / 1.367 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/1.172, allocations: 17.56 kB / 1.367 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.173, allocations: 70.28 kB / 1.367 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.173, allocations: 55.92 kB / 1.367 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/1.173, allocations: 41.72 kB / 1.367 GB, free: 15.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001967/1.175, allocations: 1.457 MB / 1.368 GB, free: 14.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.61e-07/1.175, allocations: 0 / 1.368 GB, free: 14.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003059/1.178, allocations: 1.106 MB / 1.369 GB, free: 14.52 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004612/1.183, allocations: 2.726 MB / 1.372 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003768/1.186, allocations: 2.086 MB / 1.374 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.186, allocations: 4 kB / 1.374 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.187, allocations: 0.5465 MB / 1.375 GB, free: 9.719 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.191, allocations: 1.096 MB / 1.376 GB, free: 8.652 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.212, allocations: 14.79 MB / 1.39 GB, free: 9.324 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.214, allocations: 1.578 MB / 1.392 GB, free: 7.711 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002022/1.216, allocations: 0.5339 MB / 1.392 GB, free: 7.176 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.217, allocations: 0.8898 MB / 1.393 GB, free: 6.285 MB / 1.076 GB Notification: Performance of SimCode: time 8.62e-07/1.217, allocations: 0 / 1.393 GB, free: 6.285 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/1.322, allocations: 60.47 MB / 1.452 GB, free: 10.53 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.63, allocations: 4 kB / 1.452 GB, free: 10.52 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,TSet.y,TOut.y,TVol.T,THeaOut.T,hea.Q_flow Variables in the result:Q_flow_nominal,TBou.T,TBou.port.Q_flow,TBou.port.T,THeaOut.T,THeaOut.TAmb,THeaOut.T_start,THeaOut.allowFlowReversal,THeaOut.initType,THeaOut.m_flow_nominal,THeaOut.m_flow_small,THeaOut.port_a.h_outflow,THeaOut.port_a.m_flow,THeaOut.port_a.p,THeaOut.port_b.h_outflow,THeaOut.port_b.m_flow,THeaOut.port_b.p,THeaOut.tau,THeaOut.tauHeaTra,THeaOut.transferHeat,TOut.y,TSet.amplitude,TSet.nperiod,TSet.offset,TSet.period,TSet.startTime,TSet.width,TSet.y,TVol.T,TVol.port.Q_flow,TVol.port.T,V,bou.T,bou.X[1],bou.nPorts,bou.p,bou.ports[1].h_outflow,bou.ports[1].m_flow,bou.ports[1].p,bou.use_C_in,bou.use_T_in,bou.use_X_in,bou.use_Xi_in,bou.use_p_in,bou.verifyInputs,conPI.I.initType,conPI.I.k,conPI.I.reset,conPI.I.u,conPI.I.y,conPI.I.y_reset,conPI.I.y_start,conPI.Nd,conPI.Ni,conPI.P.k,conPI.P.u,conPI.P.y,conPI.Td,conPI.Ti,conPI.addP.k1,conPI.addP.k2,conPI.addP.u1,conPI.addP.u2,conPI.addP.y,conPI.addPID.k1,conPI.addPID.k2,conPI.addPID.k3,conPI.addPID.u1,conPI.addPID.u2,conPI.addPID.u3,conPI.addPID.y,conPI.controlError,conPI.controllerType,conPI.initType,conPI.k,conPI.reset,conPI.reverseActing,conPI.strict,conPI.u_m,conPI.u_s,conPI.wd,conPI.wp,conPI.xd_start,conPI.xi_start,conPI.y,conPI.yMax,conPI.yMin,conPI.y_reset,conPI.y_start,der(THeaOut.T),der(conPI.I.y),der(hea.vol.dynBal.U),der(mov.filter.s[1]),der(mov.filter.s[2]),der(vol.dynBal.U),hea.Q_flow,hea.Q_flow_nominal,hea.T_start,hea.X_start[1],hea.allowFlowReversal,hea.computeFlowResistance,hea.deltaM,hea.dp,hea.dp_nominal,hea.energyDynamics,hea.from_dp,hea.linearizeFlowResistance,hea.m_flow,hea.m_flow_nominal,hea.m_flow_small,hea.p_start,hea.port_a.h_outflow,hea.port_a.m_flow,hea.port_a.p,hea.port_b.h_outflow,hea.port_b.m_flow,hea.port_b.p,hea.preDro.allowFlowReversal,hea.preDro.deltaM,hea.preDro.dp,hea.preDro.dp_nominal,hea.preDro.from_dp,hea.preDro.k,hea.preDro.linearized,hea.preDro.m_flow,hea.preDro.m_flow_nominal,hea.preDro.m_flow_small,hea.preDro.m_flow_turbulent,hea.preDro.port_a.h_outflow,hea.preDro.port_a.m_flow,hea.preDro.port_a.p,hea.preDro.port_b.h_outflow,hea.preDro.port_b.m_flow,hea.preDro.port_b.p,hea.preDro.show_T,hea.show_T,hea.tau,hea.u,hea.vol.T,hea.vol.T_start,hea.vol.U,hea.vol.V,hea.vol.X_start[1],hea.vol.allowFlowReversal,hea.vol.dynBal.U,hea.vol.energyDynamics,hea.vol.heatPort.Q_flow,hea.vol.heatPort.T,hea.vol.initialize_p,hea.vol.m,hea.vol.mSenFac,hea.vol.m_flow_nominal,hea.vol.m_flow_small,hea.vol.massDynamics,hea.vol.nPorts,hea.vol.p,hea.vol.p_start,hea.vol.ports[1].h_outflow,hea.vol.ports[1].m_flow,hea.vol.ports[1].p,hea.vol.ports[2].h_outflow,hea.vol.ports[2].m_flow,hea.vol.ports[2].p,hea.vol.substanceDynamics,hea.vol.traceDynamics,hea.vol.use_C_flow,mFan_flow.k,mFan_flow.y,m_flow_nominal,mov.P,mov.T_start,mov.VMachine_flow,mov.X_start[1],mov.addPowerToMedium,mov.allowFlowReversal,mov.computePowerUsingSimilarityLaws,mov.constInput,mov.constantMassFlowRate,mov.dp,mov.dpMachine,mov.dpMax,mov.dp_nominal,mov.energyDynamics,mov.eta,mov.etaHyd,mov.etaMot,mov.filter.s[1],mov.filter.s[2],mov.heatPort.Q_flow,mov.heatPort.T,mov.init,mov.inputType,mov.mSenFac,mov.m_flow,mov.m_flow_actual,mov.m_flow_in,mov.m_flow_nominal,mov.m_flow_small,mov.m_flow_start,mov.massDynamics,mov.massFlowRates[1],mov.nominalValuesDefineDefaultPressureCurve,mov.p_start,mov.per.V_flow_max,mov.per.WMot_nominal,mov.per.constantSpeed,mov.per.dpMax,mov.per.efficiency.V_flow[1],mov.per.efficiency.eta[1],mov.per.etaHydMet,mov.per.etaMotMet,mov.per.etaMot_max,mov.per.havePressureCurve,mov.per.haveWMot_nominal,mov.per.motorCooledByFluid,mov.per.motorEfficiency.V_flow[1],mov.per.motorEfficiency.eta[1],mov.per.motorEfficiency_yMot.eta[1],mov.per.motorEfficiency_yMot.y[1],mov.per.motorEfficiency_yMot_generic.eta[1],mov.per.motorEfficiency_yMot_generic.eta[2],mov.per.motorEfficiency_yMot_generic.eta[3],mov.per.motorEfficiency_yMot_generic.eta[4],mov.per.motorEfficiency_yMot_generic.eta[5],mov.per.motorEfficiency_yMot_generic.eta[6],mov.per.motorEfficiency_yMot_generic.eta[7],mov.per.motorEfficiency_yMot_generic.eta[8],mov.per.motorEfficiency_yMot_generic.eta[9],mov.per.motorEfficiency_yMot_generic.y[1],mov.per.motorEfficiency_yMot_generic.y[2],mov.per.motorEfficiency_yMot_generic.y[3],mov.per.motorEfficiency_yMot_generic.y[4],mov.per.motorEfficiency_yMot_generic.y[5],mov.per.motorEfficiency_yMot_generic.y[6],mov.per.motorEfficiency_yMot_generic.y[7],mov.per.motorEfficiency_yMot_generic.y[8],mov.per.motorEfficiency_yMot_generic.y[9],mov.per.peak.V_flow,mov.per.peak.dp,mov.per.peak.eta,mov.per.peak_internal.V_flow,mov.per.peak_internal.dp,mov.per.peak_internal.eta,mov.per.power.P[1],mov.per.power.V_flow[1],mov.per.powerOrEfficiencyIsHydraulic,mov.per.pressure.V_flow[1],mov.per.pressure.V_flow[2],mov.per.pressure.dp[1],mov.per.pressure.dp[2],mov.per.speed_nominal,mov.per.speeds[1],mov.port_a.h_outflow,mov.port_a.m_flow,mov.port_a.p,mov.port_b.h_outflow,mov.port_b.m_flow,mov.port_b.p,mov.riseTime,mov.show_T,mov.stageInputs[1],mov.substanceDynamics,mov.tau,mov.traceDynamics,mov.use_inputFilter,mov.y_actual,res.allowFlowReversal,res.deltaM,res.dp,res.dp_nominal,res.from_dp,res.k,res.linearized,res.m_flow,res.m_flow_nominal,res.m_flow_small,res.m_flow_turbulent,res.port_a.h_outflow,res.port_a.m_flow,res.port_a.p,res.port_b.h_outflow,res.port_b.m_flow,res.port_b.p,res.show_T,theCon.G,theCon.Q_flow,theCon.dT,theCon.port_a.Q_flow,theCon.port_a.T,theCon.port_b.Q_flow,theCon.port_b.T,time,vol.T,vol.T_start,vol.U,vol.V,vol.X_start[1],vol.allowFlowReversal,vol.dynBal.U,vol.energyDynamics,vol.heatPort.Q_flow,vol.heatPort.T,vol.initialize_p,vol.m,vol.mSenFac,vol.m_flow_nominal,vol.m_flow_small,vol.massDynamics,vol.nPorts,vol.p,vol.p_start,vol.ports[1].h_outflow,vol.ports[1].m_flow,vol.ports[1].p,vol.ports[2].h_outflow,vol.ports[2].m_flow,vol.ports[2].p,vol.ports[3].h_outflow,vol.ports[3].m_flow,vol.ports[3].p,vol.substanceDynamics,vol.traceDynamics,vol.use_C_flow