Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",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.006296/0.006296, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001216/0.001216, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.91 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9604, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1065/1.067, allocations: 81.01 MB / 1.286 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03698/1.104, allocations: 21.06 MB / 1.307 GB, free: 7.156 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006205/1.11, allocations: 107.4 kB / 1.307 GB, free: 7.051 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007404/1.118, allocations: 1.951 MB / 1.309 GB, free: 5.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/1.128, allocations: 2.946 MB / 1.312 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007553/1.136, allocations: 2.493 MB / 1.314 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02516/1.161, allocations: 18.43 MB / 1.332 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/1.173, allocations: 7.237 MB / 1.339 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/1.189, allocations: 5.956 MB / 1.345 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/1.2, allocations: 5.129 MB / 1.35 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002727/1.203, allocations: 0.5469 MB / 1.351 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007878/1.211, allocations: 1.978 MB / 1.353 GB, free: 8.223 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004307/1.215, allocations: 1.756 MB / 1.354 GB, free: 6.461 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0085/1.223, allocations: 3.484 MB / 1.358 GB, free: 2.961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/1.238, allocations: 9.671 MB / 1.367 GB, free: 9.262 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.238, allocations: 4 kB / 1.367 GB, free: 9.258 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.723e-06/1.238, allocations: 0 / 1.367 GB, free: 9.258 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000323/1.238, allocations: 0 / 1.367 GB, free: 9.258 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.024/1.262, allocations: 6.905 MB / 1.374 GB, free: 2.254 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.262, allocations: 12.03 kB / 1.374 GB, free: 2.242 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002228/1.264, allocations: 475.4 kB / 1.374 GB, free: 1.766 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006723/1.271, allocations: 0.9411 MB / 1.375 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/1.287, allocations: 6.416 MB / 1.382 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/1.287, allocations: 262.6 kB / 1.382 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/1.289, allocations: 343.9 kB / 1.382 GB, free: 9.73 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.304, allocations: 5.735 MB / 1.388 GB, free: 3.746 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/1.304, allocations: 15.88 kB / 1.388 GB, free: 3.73 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/1.305, allocations: 144 kB / 1.388 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/1.305, allocations: 118 kB / 1.388 GB, free: 3.473 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/1.318, allocations: 5.565 MB / 1.393 GB, free: 13.89 MB / 1.123 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.0491/1.367, allocations: 24.08 MB / 1.417 GB, free: 4.742 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/1.373, allocations: 2.764 MB / 1.42 GB, free: 1.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/1.377, allocations: 1.901 MB / 1.422 GB, free: 76 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01676/1.394, allocations: 7.166 MB / 1.429 GB, free: 8.59 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0035/1.397, allocations: 1.918 MB / 1.43 GB, free: 6.664 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003874/1.401, allocations: 0.7117 MB / 1.431 GB, free: 5.949 MB / 1.154 GB Notification: Performance of pre-optimization done (n=154): time 1.42e-05/1.401, allocations: 0 / 1.431 GB, free: 5.949 MB / 1.154 GB Notification: Performance of matching and sorting (n=154): time 0.02766/1.429, allocations: 8.033 MB / 1.439 GB, free: 13.83 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.429, allocations: 68.72 kB / 1.439 GB, free: 13.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.44, allocations: 5.602 MB / 1.444 GB, free: 8.18 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008238/1.441, allocations: 65.7 kB / 1.445 GB, free: 8.109 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.444, allocations: 2.597 MB / 1.447 GB, free: 5.488 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.446, allocations: 0.5548 MB / 1.448 GB, free: 4.926 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/1.447, allocations: 0.7713 MB / 1.448 GB, free: 4.145 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/1.448, allocations: 309.1 kB / 1.449 GB, free: 3.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/1.452, allocations: 1.9 MB / 1.45 GB, free: 1.93 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/1.457, allocations: 3.163 MB / 1.454 GB, free: 14.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008833/1.466, allocations: 5.024 MB / 1.458 GB, free: 8.691 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-05/1.466, allocations: 8 kB / 1.459 GB, free: 8.684 MB / 1.186 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.016/1.482, allocations: 6.793 MB / 1.465 GB, free: 1.867 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/1.482, allocations: 48.36 kB / 1.465 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.982e-05/1.482, allocations: 32 kB / 1.465 GB, free: 1.785 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08229/1.564, allocations: 13.55 MB / 1.478 GB, free: 4.219 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/1.568, allocations: 0.7096 MB / 1.479 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.578, allocations: 5.48 MB / 1.484 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/1.584, allocations: 235.8 kB / 1.485 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.585, allocations: 207.8 kB / 1.485 GB, free: 13.51 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007527/1.593, allocations: 3.269 MB / 1.488 GB, free: 10.23 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004884/1.598, allocations: 3.102 MB / 1.491 GB, free: 6.566 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007879/1.606, allocations: 4.933 MB / 1.496 GB, free: 1.148 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.513e-05/1.606, allocations: 15.94 kB / 1.496 GB, free: 1.133 MB / 1.217 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01372/1.62, allocations: 6.512 MB / 1.502 GB, free: 10.59 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/1.62, allocations: 45.7 kB / 1.502 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/1.62, allocations: 36.78 kB / 1.502 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07999/1.7, allocations: 13.3 MB / 1.515 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/1.703, allocations: 0.6981 MB / 1.516 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.719, allocations: 8.912 MB / 1.525 GB, free: 3.25 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005901/1.725, allocations: 240.2 kB / 1.525 GB, free: 3.016 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.726, allocations: 203.8 kB / 1.525 GB, free: 2.816 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 311 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001585/1.727, allocations: 379.3 kB / 1.526 GB, free: 2.438 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/1.729, allocations: 0.4899 MB / 1.526 GB, free: 1.941 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009418/1.739, allocations: 4.591 MB / 1.531 GB, free: 13.33 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.739, allocations: 16 kB / 1.531 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.739, allocations: 3.938 kB / 1.531 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01131/1.75, allocations: 5.668 MB / 1.536 GB, free: 7.375 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.781, allocations: 10.91 MB / 1.547 GB, free: 12.38 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/1.781, allocations: 0 / 1.547 GB, free: 12.38 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/1.784, allocations: 379.6 kB / 1.547 GB, free: 12.01 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0717/1.856, allocations: 11.71 MB / 1.559 GB, free: 284 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005441/1.856, allocations: 55.89 kB / 1.559 GB, free: 228 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8463/2.703, allocations: 3.543 MB / 1.562 GB, free: 333.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.703, allocations: 0.5312 kB / 1.562 GB, free: 333.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02495/2.728, allocations: 8.11 MB / 1.57 GB, free: 331.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00369/2.732, allocations: 0.9786 MB / 1.571 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/2.733, allocations: 34.44 kB / 1.571 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004045/2.737, allocations: 150 kB / 1.571 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/2.738, allocations: 111.8 kB / 1.571 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000357/2.738, allocations: 91.14 kB / 1.571 GB, free: 330.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008511/2.747, allocations: 3.826 MB / 1.575 GB, free: 329.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.32e-07/2.747, allocations: 0 / 1.575 GB, free: 329.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0102/2.757, allocations: 2.793 MB / 1.578 GB, free: 329.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02264/2.78, allocations: 9.127 MB / 1.587 GB, free: 325.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01969/2.799, allocations: 7.949 MB / 1.594 GB, free: 321.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.799, allocations: 5.938 kB / 1.594 GB, free: 321.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005975/2.805, allocations: 2.292 MB / 1.597 GB, free: 319.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01576/2.821, allocations: 2.924 MB / 1.6 GB, free: 316.7 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07705/2.898, allocations: 45.24 MB / 1.644 GB, free: 270.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/2.902, allocations: 3.42 MB / 1.647 GB, free: 266.9 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006275/2.908, allocations: 1.742 MB / 1.649 GB, free: 265.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00384/2.912, allocations: 2.198 MB / 1.651 GB, free: 262.9 MB / 1.279 GB Notification: Performance of SimCode: time 1.603e-06/2.912, allocations: 0 / 1.651 GB, free: 262.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.216/3.128, allocations: 161.6 MB / 1.809 GB, free: 102.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.74/26.86, allocations: 9.625 kB / 1.809 GB, free: 102.8 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_ResistanceVolumeFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res[1].m_flow,res[2].m_flow,vol[1].T,vol[2].T Variables in the result:allowFlowReversal.k,allowFlowReversal.y,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,const.k,const.y,der(hea.outCon.T),der(pump.vol.dynBal.U),der(val.filter.s[1]),der(val.filter.s[2]),gain.k,gain.u,gain.y,hea.QMax_flow,hea.Q_flow,hea.TSet,hea.T_start,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.outCon.T,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.show_T,hea.tau,m_flow_nominal,nRes.k,nRes.y,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,pulse.y,pump.P,pump.T_start,pump.VMachine_flow,pump.X_start[1],pump.addPowerToMedium,pump.allowFlowReversal,pump.computePowerUsingSimilarityLaws,pump.constInput,pump.constantMassFlowRate,pump.dp,pump.dpMachine,pump.dpMax,pump.dp_nominal,pump.energyDynamics,pump.eta,pump.etaHyd,pump.etaMot,pump.heatPort.Q_flow,pump.heatPort.T,pump.init,pump.inputType,pump.mSenFac,pump.m_flow,pump.m_flow_actual,pump.m_flow_in,pump.m_flow_nominal,pump.m_flow_small,pump.m_flow_start,pump.massDynamics,pump.massFlowRates[1],pump.nominalValuesDefineDefaultPressureCurve,pump.p_start,pump.per.V_flow_max,pump.per.WMot_nominal,pump.per.constantSpeed,pump.per.dpMax,pump.per.efficiency.V_flow[1],pump.per.efficiency.eta[1],pump.per.etaHydMet,pump.per.etaMotMet,pump.per.etaMot_max,pump.per.havePressureCurve,pump.per.haveWMot_nominal,pump.per.motorCooledByFluid,pump.per.motorEfficiency.V_flow[1],pump.per.motorEfficiency.eta[1],pump.per.motorEfficiency_yMot.eta[1],pump.per.motorEfficiency_yMot.y[1],pump.per.motorEfficiency_yMot_generic.eta[1],pump.per.motorEfficiency_yMot_generic.eta[2],pump.per.motorEfficiency_yMot_generic.eta[3],pump.per.motorEfficiency_yMot_generic.eta[4],pump.per.motorEfficiency_yMot_generic.eta[5],pump.per.motorEfficiency_yMot_generic.eta[6],pump.per.motorEfficiency_yMot_generic.eta[7],pump.per.motorEfficiency_yMot_generic.eta[8],pump.per.motorEfficiency_yMot_generic.eta[9],pump.per.motorEfficiency_yMot_generic.y[1],pump.per.motorEfficiency_yMot_generic.y[2],pump.per.motorEfficiency_yMot_generic.y[3],pump.per.motorEfficiency_yMot_generic.y[4],pump.per.motorEfficiency_yMot_generic.y[5],pump.per.motorEfficiency_yMot_generic.y[6],pump.per.motorEfficiency_yMot_generic.y[7],pump.per.motorEfficiency_yMot_generic.y[8],pump.per.motorEfficiency_yMot_generic.y[9],pump.per.peak.V_flow,pump.per.peak.dp,pump.per.peak.eta,pump.per.peak_internal.V_flow,pump.per.peak_internal.dp,pump.per.peak_internal.eta,pump.per.power.P[1],pump.per.power.V_flow[1],pump.per.powerOrEfficiencyIsHydraulic,pump.per.pressure.V_flow[1],pump.per.pressure.V_flow[2],pump.per.pressure.dp[1],pump.per.pressure.dp[2],pump.per.speed_nominal,pump.per.speeds[1],pump.port_a.h_outflow,pump.port_a.m_flow,pump.port_a.p,pump.port_b.h_outflow,pump.port_b.m_flow,pump.port_b.p,pump.riseTime,pump.show_T,pump.stageInputs[1],pump.substanceDynamics,pump.tau,pump.traceDynamics,pump.use_inputFilter,pump.vol.dynBal.U,pump.y_actual,res[10].allowFlowReversal,res[10].deltaM,res[10].dp,res[10].dp_nominal,res[10].from_dp,res[10].k,res[10].linearized,res[10].m_flow,res[10].m_flow_nominal,res[10].m_flow_small,res[10].m_flow_turbulent,res[10].port_a.h_outflow,res[10].port_a.m_flow,res[10].port_a.p,res[10].port_b.h_outflow,res[10].port_b.m_flow,res[10].port_b.p,res[10].show_T,res[1].allowFlowReversal,res[1].deltaM,res[1].dp,res[1].dp_nominal,res[1].from_dp,res[1].k,res[1].linearized,res[1].m_flow,res[1].m_flow_nominal,res[1].m_flow_small,res[1].m_flow_turbulent,res[1].port_a.h_outflow,res[1].port_a.m_flow,res[1].port_a.p,res[1].port_b.h_outflow,res[1].port_b.m_flow,res[1].port_b.p,res[1].show_T,res[2].allowFlowReversal,res[2].deltaM,res[2].dp,res[2].dp_nominal,res[2].from_dp,res[2].k,res[2].linearized,res[2].m_flow,res[2].m_flow_nominal,res[2].m_flow_small,res[2].m_flow_turbulent,res[2].port_a.h_outflow,res[2].port_a.m_flow,res[2].port_a.p,res[2].port_b.h_outflow,res[2].port_b.m_flow,res[2].port_b.p,res[2].show_T,res[3].allowFlowReversal,res[3].deltaM,res[3].dp,res[3].dp_nominal,res[3].from_dp,res[3].k,res[3].linearized,res[3].m_flow,res[3].m_flow_nominal,res[3].m_flow_small,res[3].m_flow_turbulent,res[3].port_a.h_outflow,res[3].port_a.m_flow,res[3].port_a.p,res[3].port_b.h_outflow,res[3].port_b.m_flow,res[3].port_b.p,res[3].show_T,res[4].allowFlowReversal,res[4].deltaM,res[4].dp,res[4].dp_nominal,res[4].from_dp,res[4].k,res[4].linearized,res[4].m_flow,res[4].m_flow_nominal,res[4].m_flow_small,res[4].m_flow_turbulent,res[4].port_a.h_outflow,res[4].port_a.m_flow,res[4].port_a.p,res[4].port_b.h_outflow,res[4].port_b.m_flow,res[4].port_b.p,res[4].show_T,res[5].allowFlowReversal,res[5].deltaM,res[5].dp,res[5].dp_nominal,res[5].from_dp,res[5].k,res[5].linearized,res[5].m_flow,res[5].m_flow_nominal,res[5].m_flow_small,res[5].m_flow_turbulent,res[5].port_a.h_outflow,res[5].port_a.m_flow,res[5].port_a.p,res[5].port_b.h_outflow,res[5].port_b.m_flow,res[5].port_b.p,res[5].show_T,res[6].allowFlowReversal,res[6].deltaM,res[6].dp,res[6].dp_nominal,res[6].from_dp,res[6].k,res[6].linearized,res[6].m_flow,res[6].m_flow_nominal,res[6].m_flow_small,res[6].m_flow_turbulent,res[6].port_a.h_outflow,res[6].port_a.m_flow,res[6].port_a.p,res[6].port_b.h_outflow,res[6].port_b.m_flow,res[6].port_b.p,res[6].show_T,res[7].allowFlowReversal,res[7].deltaM,res[7].dp,res[7].dp_nominal,res[7].from_dp,res[7].k,res[7].linearized,res[7].m_flow,res[7].m_flow_nominal,res[7].m_flow_small,res[7].m_flow_turbulent,res[7].port_a.h_outflow,res[7].port_a.m_flow,res[7].port_a.p,res[7].port_b.h_outflow,res[7].port_b.m_flow,res[7].port_b.p,res[7].show_T,res[8].allowFlowReversal,res[8].deltaM,res[8].dp,res[8].dp_nominal,res[8].from_dp,res[8].k,res[8].linearized,res[8].m_flow,res[8].m_flow_nominal,res[8].m_flow_small,res[8].m_flow_turbulent,res[8].port_a.h_outflow,res[8].port_a.m_flow,res[8].port_a.p,res[8].port_b.h_outflow,res[8].port_b.m_flow,res[8].port_b.p,res[8].show_T,res[9].allowFlowReversal,res[9].deltaM,res[9].dp,res[9].dp_nominal,res[9].from_dp,res[9].k,res[9].linearized,res[9].m_flow,res[9].m_flow_nominal,res[9].m_flow_small,res[9].m_flow_turbulent,res[9].port_a.h_outflow,res[9].port_a.m_flow,res[9].port_a.p,res[9].port_b.h_outflow,res[9].port_b.m_flow,res[9].port_b.p,res[9].show_T,time,val.Av,val.Cv,val.CvData,val.Kv,val.T_start,val.X_start[1],val.deltaM,val.dpFixed_nominal[1],val.dpFixed_nominal[2],val.dpValve_nominal,val.energyDynamics,val.filter.s[1],val.filter.s[2],val.fraK,val.from_dp,val.init,val.l[1],val.l[2],val.linearized[1],val.linearized[2],val.mDyn_flow_nominal,val.mSenFac,val.m_flow_nominal,val.m_flow_small,val.massDynamics,val.p_start,val.portFlowDirection_1,val.portFlowDirection_2,val.portFlowDirection_3,val.port_1.h_outflow,val.port_1.m_flow,val.port_1.p,val.port_2.h_outflow,val.port_2.m_flow,val.port_2.p,val.port_3.h_outflow,val.port_3.m_flow,val.port_3.p,val.res1.Av,val.res1.Cv,val.res1.CvData,val.res1.Kv,val.res1.allowFlowReversal,val.res1.deltaM,val.res1.dp,val.res1.dpFixed_nominal,val.res1.dpValve_nominal,val.res1.dp_nominal,val.res1.from_dp,val.res1.init,val.res1.k,val.res1.kFixed,val.res1.kVal,val.res1.l,val.res1.linearized,val.res1.m_flow,val.res1.m_flow_nominal,val.res1.m_flow_small,val.res1.m_flow_turbulent,val.res1.phi,val.res1.port_a.h_outflow,val.res1.port_a.m_flow,val.res1.port_a.p,val.res1.port_b.h_outflow,val.res1.port_b.m_flow,val.res1.port_b.p,val.res1.rhoStd,val.res1.riseTime,val.res1.show_T,val.res1.use_inputFilter,val.res1.y,val.res1.y_actual,val.res1.y_start,val.res2.allowFlowReversal,val.res2.dp,val.res2.from_dp,val.res2.m_flow,val.res2.m_flow_nominal,val.res2.m_flow_small,val.res2.port_a.h_outflow,val.res2.port_a.m_flow,val.res2.port_a.p,val.res2.port_b.h_outflow,val.res2.port_b.m_flow,val.res2.port_b.p,val.res2.show_T,val.res3.Av,val.res3.Cv,val.res3.CvData,val.res3.Kv,val.res3.allowFlowReversal,val.res3.deltaM,val.res3.dp,val.res3.dpFixed_nominal,val.res3.dpValve_nominal,val.res3.dp_nominal,val.res3.from_dp,val.res3.init,val.res3.k,val.res3.kFixed,val.res3.kVal,val.res3.l,val.res3.linearized,val.res3.m_flow,val.res3.m_flow_nominal,val.res3.m_flow_small,val.res3.m_flow_turbulent,val.res3.phi,val.res3.port_a.h_outflow,val.res3.port_a.m_flow,val.res3.port_a.p,val.res3.port_b.h_outflow,val.res3.port_b.m_flow,val.res3.port_b.p,val.res3.rhoStd,val.res3.riseTime,val.res3.show_T,val.res3.use_inputFilter,val.res3.y,val.res3.y_actual,val.res3.y_start,val.rhoStd,val.riseTime,val.substanceDynamics,val.tau,val.traceDynamics,val.use_inputFilter,val.verifyFlowReversal,val.y,val.y_actual,val.y_start,vol[10].T,vol[10].T_start,vol[10].U,vol[10].V,vol[10].X_start[1],vol[10].allowFlowReversal,vol[10].energyDynamics,vol[10].heatPort.Q_flow,vol[10].heatPort.T,vol[10].initialize_p,vol[10].m,vol[10].mSenFac,vol[10].m_flow_nominal,vol[10].m_flow_small,vol[10].massDynamics,vol[10].nPorts,vol[10].p,vol[10].p_start,vol[10].ports[1].h_outflow,vol[10].ports[1].m_flow,vol[10].ports[1].p,vol[10].ports[2].h_outflow,vol[10].ports[2].m_flow,vol[10].ports[2].p,vol[10].substanceDynamics,vol[10].tau,vol[10].traceDynamics,vol[10].use_C_flow,vol[1].T,vol[1].T_start,vol[1].U,vol[1].V,vol[1].X_start[1],vol[1].allowFlowReversal,vol[1].energyDynamics,vol[1].heatPort.Q_flow,vol[1].heatPort.T,vol[1].initialize_p,vol[1].m,vol[1].mSenFac,vol[1].m_flow_nominal,vol[1].m_flow_small,vol[1].massDynamics,vol[1].nPorts,vol[1].p,vol[1].p_start,vol[1].ports[1].h_outflow,vol[1].ports[1].m_flow,vol[1].ports[1].p,vol[1].ports[2].h_outflow,vol[1].ports[2].m_flow,vol[1].ports[2].p,vol[1].substanceDynamics,vol[1].tau,vol[1].traceDynamics,vol[1].use_C_flow,vol[2].T,vol[2].T_start,vol[2].U,vol[2].V,vol[2].X_start[1],vol[2].allowFlowReversal,vol[2].energyDynamics,vol[2].heatPort.Q_flow,vol[2].heatPort.T,vol[2].initialize_p,vol[2].m,vol[2].mSenFac,vol[2].m_flow_nominal,vol[2].m_flow_small,vol[2].massDynamics,vol[2].nPorts,vol[2].p,vol[2].p_start,vol[2].ports[1].h_outflow,vol[2].ports[1].m_flow,vol[2].ports[1].p,vol[2].ports[2].h_outflow,vol[2].ports[2].m_flow,vol[2].ports[2].p,vol[2].substanceDynamics,vol[2].tau,vol[2].traceDynamics,vol[2].use_C_flow,vol[3].T,vol[3].T_start,vol[3].U,vol[3].V,vol[3].X_start[1],vol[3].allowFlowReversal,vol[3].energyDynamics,vol[3].heatPort.Q_flow,vol[3].heatPort.T,vol[3].initialize_p,vol[3].m,vol[3].mSenFac,vol[3].m_flow_nominal,vol[3].m_flow_small,vol[3].massDynamics,vol[3].nPorts,vol[3].p,vol[3].p_start,vol[3].ports[1].h_outflow,vol[3].ports[1].m_flow,vol[3].ports[1].p,vol[3].ports[2].h_outflow,vol[3].ports[2].m_flow,vol[3].ports[2].p,vol[3].substanceDynamics,vol[3].tau,vol[3].traceDynamics,vol[3].use_C_flow,vol[4].T,vol[4].T_start,vol[4].U,vol[4].V,vol[4].X_start[1],vol[4].allowFlowReversal,vol[4].energyDynamics,vol[4].heatPort.Q_flow,vol[4].heatPort.T,vol[4].initialize_p,vol[4].m,vol[4].mSenFac,vol[4].m_flow_nominal,vol[4].m_flow_small,vol[4].massDynamics,vol[4].nPorts,vol[4].p,vol[4].p_start,vol[4].ports[1].h_outflow,vol[4].ports[1].m_flow,vol[4].ports[1].p,vol[4].ports[2].h_outflow,vol[4].ports[2].m_flow,vol[4].ports[2].p,vol[4].substanceDynamics,vol[4].tau,vol[4].traceDynamics,vol[4].use_C_flow,vol[5].T,vol[5].T_start,vol[5].U,vol[5].V,vol[5].X_start[1],vol[5].allowFlowReversal,vol[5].energyDynamics,vol[5].heatPort.Q_flow,vol[5].heatPort.T,vol[5].initialize_p,vol[5].m,vol[5].mSenFac,vol[5].m_flow_nominal,vol[5].m_flow_small,vol[5].massDynamics,vol[5].nPorts,vol[5].p,vol[5].p_start,vol[5].ports[1].h_outflow,vol[5].ports[1].m_flow,vol[5].ports[1].p,vol[5].ports[2].h_outflow,vol[5].ports[2].m_flow,vol[5].ports[2].p,vol[5].substanceDynamics,vol[5].tau,vol[5].traceDynamics,vol[5].use_C_flow,vol[6].T,vol[6].T_start,vol[6].U,vol[6].V,vol[6].X_start[1],vol[6].allowFlowReversal,vol[6].energyDynamics,vol[6].heatPort.Q_flow,vol[6].heatPort.T,vol[6].initialize_p,vol[6].m,vol[6].mSenFac,vol[6].m_flow_nominal,vol[6].m_flow_small,vol[6].massDynamics,vol[6].nPorts,vol[6].p,vol[6].p_start,vol[6].ports[1].h_outflow,vol[6].ports[1].m_flow,vol[6].ports[1].p,vol[6].ports[2].h_outflow,vol[6].ports[2].m_flow,vol[6].ports[2].p,vol[6].substanceDynamics,vol[6].tau,vol[6].traceDynamics,vol[6].use_C_flow,vol[7].T,vol[7].T_start,vol[7].U,vol[7].V,vol[7].X_start[1],vol[7].allowFlowReversal,vol[7].energyDynamics,vol[7].heatPort.Q_flow,vol[7].heatPort.T,vol[7].initialize_p,vol[7].m,vol[7].mSenFac,vol[7].m_flow_nominal,vol[7].m_flow_small,vol[7].massDynamics,vol[7].nPorts,vol[7].p,vol[7].p_start,vol[7].ports[1].h_outflow,vol[7].ports[1].m_flow,vol[7].ports[1].p,vol[7].ports[2].h_outflow,vol[7].ports[2].m_flow,vol[7].ports[2].p,vol[7].substanceDynamics,vol[7].tau,vol[7].traceDynamics,vol[7].use_C_flow,vol[8].T,vol[8].T_start,vol[8].U,vol[8].V,vol[8].X_start[1],vol[8].allowFlowReversal,vol[8].energyDynamics,vol[8].heatPort.Q_flow,vol[8].heatPort.T,vol[8].initialize_p,vol[8].m,vol[8].mSenFac,vol[8].m_flow_nominal,vol[8].m_flow_small,vol[8].massDynamics,vol[8].nPorts,vol[8].p,vol[8].p_start,vol[8].ports[1].h_outflow,vol[8].ports[1].m_flow,vol[8].ports[1].p,vol[8].ports[2].h_outflow,vol[8].ports[2].m_flow,vol[8].ports[2].p,vol[8].substanceDynamics,vol[8].tau,vol[8].traceDynamics,vol[8].use_C_flow,vol[9].T,vol[9].T_start,vol[9].U,vol[9].V,vol[9].X_start[1],vol[9].allowFlowReversal,vol[9].energyDynamics,vol[9].heatPort.Q_flow,vol[9].heatPort.T,vol[9].initialize_p,vol[9].m,vol[9].mSenFac,vol[9].m_flow_nominal,vol[9].m_flow_small,vol[9].massDynamics,vol[9].nPorts,vol[9].p,vol[9].p_start,vol[9].ports[1].h_outflow,vol[9].ports[1].m_flow,vol[9].ports[1].p,vol[9].ports[2].h_outflow,vol[9].ports[2].m_flow,vol[9].ports[2].p,vol[9].substanceDynamics,vol[9].tau,vol[9].traceDynamics,vol[9].use_C_flow