Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.046/2.046, allocations: 387.4 MB / 394.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 184.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009071, allocations: 87.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2e-05, allocations: 5.641 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2477, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.339, allocations: 435.8 MB / 1.631 GB, free: 2.977 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/1.339, allocations: 88.39 kB / 1.632 GB, free: 2.934 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.132/5.471, allocations: 1.062 GB / 2.694 GB, free: 150.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.755e-06/5.471, allocations: 1.562 kB / 2.694 GB, free: 150.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006187/5.472, allocations: 86.72 kB / 2.694 GB, free: 150.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01182/5.484, allocations: 3.213 MB / 2.697 GB, free: 149.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.02e-05/5.484, allocations: 10.12 kB / 2.697 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009222/5.493, allocations: 1.215 MB / 2.698 GB, free: 149.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008682/5.502, allocations: 3.318 MB / 2.701 GB, free: 149.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/5.502, allocations: 171.8 kB / 2.702 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008755/5.503, allocations: 134.3 kB / 2.702 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005059/5.508, allocations: 1.992 MB / 2.704 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006236/5.514, allocations: 2.506 MB / 2.706 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.361e-05/5.515, allocations: 9.969 kB / 2.706 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005623/5.515, allocations: 7.188 kB / 2.706 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/5.515, allocations: 94.25 kB / 2.706 GB, free: 148.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.02084/5.536, allocations: 12.81 MB / 2.719 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/5.538, allocations: 1.145 MB / 2.72 GB, free: 142.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/5.539, allocations: 0.5819 MB / 2.72 GB, free: 142.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/5.54, allocations: 1.774 MB / 2.722 GB, free: 140.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/5.542, allocations: 0.917 MB / 2.723 GB, free: 140.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 6.933e-06/5.542, allocations: 0 / 2.723 GB, free: 140.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=122): time 0.02559/5.567, allocations: 10.5 MB / 2.733 GB, free: 134.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001988/5.567, allocations: 0.9351 MB / 2.734 GB, free: 133.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/5.57, allocations: 1.837 MB / 2.736 GB, free: 133 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003449/5.57, allocations: 35.92 kB / 2.736 GB, free: 133 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/5.571, allocations: 1.394 MB / 2.737 GB, free: 132.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000436/5.572, allocations: 410 kB / 2.738 GB, free: 132.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/5.572, allocations: 2.297 kB / 2.738 GB, free: 132.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/5.572, allocations: 364.4 kB / 2.738 GB, free: 131.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/5.573, allocations: 0.5829 MB / 2.739 GB, free: 131.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/5.574, allocations: 1.187 MB / 2.74 GB, free: 131.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/5.578, allocations: 0.9537 MB / 2.741 GB, free: 131.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/5.578, allocations: 3.594 kB / 2.741 GB, free: 131.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.0063/5.584, allocations: 2.343 MB / 2.743 GB, free: 130.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009126/5.585, allocations: 5.122 MB / 2.748 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/5.585, allocations: 15.61 kB / 2.748 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/5.587, allocations: 0.7117 MB / 2.749 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/5.589, allocations: 459.3 kB / 2.749 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/5.592, allocations: 2.263 MB / 2.751 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/5.597, allocations: 373.3 kB / 2.752 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/5.597, allocations: 105.9 kB / 2.752 GB, free: 124.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/5.597, allocations: 2.938 kB / 2.752 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005337/5.603, allocations: 2.049 MB / 2.754 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/5.603, allocations: 13.41 kB / 2.754 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/5.604, allocations: 0.7143 MB / 2.755 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/5.606, allocations: 444.8 kB / 2.755 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/5.61, allocations: 2.286 MB / 2.757 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/5.614, allocations: 298.7 kB / 2.758 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/5.614, allocations: 109.2 kB / 2.758 GB, free: 123.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007107/5.615, allocations: 158.4 kB / 2.758 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008359/5.616, allocations: 245.2 kB / 2.758 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006486/5.622, allocations: 1.839 MB / 2.76 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/5.622, allocations: 18.98 kB / 2.76 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/5.622, allocations: 3.344 kB / 2.76 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004982/5.627, allocations: 1.659 MB / 2.761 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/5.641, allocations: 6.158 MB / 2.767 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/5.641, allocations: 3.625 kB / 2.767 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/5.643, allocations: 281.5 kB / 2.768 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/5.644, allocations: 0.6061 MB / 2.768 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/5.644, allocations: 37.73 kB / 2.768 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/5.647, allocations: 2.028 MB / 2.77 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/5.647, allocations: 11.59 kB / 2.77 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007294/5.654, allocations: 3.303 MB / 2.774 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/5.657, allocations: 0.6073 MB / 2.774 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/5.658, allocations: 15.47 kB / 2.774 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/5.661, allocations: 248.7 kB / 2.774 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/5.662, allocations: 105 kB / 2.775 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/5.662, allocations: 72.44 kB / 2.775 GB, free: 118.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0022/5.664, allocations: 1.377 MB / 2.776 GB, free: 118 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.92e-07/5.664, allocations: 0 / 2.776 GB, free: 118 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006126/5.67, allocations: 1.565 MB / 2.777 GB, free: 117.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002636/5.673, allocations: 1.484 MB / 2.779 GB, free: 117.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005438/5.678, allocations: 2.772 MB / 2.782 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/5.678, allocations: 4.469 kB / 2.782 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/5.68, allocations: 0.8425 MB / 2.782 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/5.687, allocations: 1.076 MB / 2.783 GB, free: 117.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009954/5.697, allocations: 3.75 MB / 2.787 GB, free: 116.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/5.698, allocations: 1.771 MB / 2.789 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003974/5.702, allocations: 0.7114 MB / 2.79 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/5.703, allocations: 170.7 kB / 2.79 GB, free: 115.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/5.703, allocations: 5.156 kB / 2.79 GB, free: 115.4 MB / 1.151 GB Notification: Performance of Templates: time 0.08689/5.79, allocations: 64.15 MB / 2.852 GB, free: 112 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches