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.59/2.59, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001202/0.001202, allocations: 180.9 kB / 498.1 MB, free: 5.73 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.76/1.76, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 98.81 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 11.17 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/1.563, allocations: 436.5 MB / 1.649 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.563, allocations: 95.73 kB / 1.649 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.76/5.323, allocations: 1.071 GB / 2.72 GB, free: 44.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.905e-06/5.323, allocations: 0 / 2.72 GB, free: 44.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005725/5.324, allocations: 75.98 kB / 2.72 GB, free: 44.04 MB / 1.167 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.01301/5.337, allocations: 3.717 MB / 2.724 GB, free: 40.22 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/5.337, allocations: 8.031 kB / 2.724 GB, free: 40.21 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009543/5.346, allocations: 1.213 MB / 2.725 GB, free: 39 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/5.357, allocations: 3.34 MB / 2.728 GB, free: 35.58 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/5.357, allocations: 255.9 kB / 2.728 GB, free: 35.31 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/5.358, allocations: 232 kB / 2.728 GB, free: 35.09 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/5.37, allocations: 3.171 MB / 2.732 GB, free: 31.71 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/5.37, allocations: 15.84 kB / 2.732 GB, free: 31.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008879/5.371, allocations: 100 kB / 2.732 GB, free: 31.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/5.371, allocations: 100.2 kB / 2.732 GB, free: 31.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/5.381, allocations: 2.8 MB / 2.734 GB, free: 28.68 MB / 1.167 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.02538/5.407, allocations: 13.34 MB / 2.748 GB, free: 14.75 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/5.411, allocations: 1.539 MB / 2.749 GB, free: 13.16 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/5.413, allocations: 1.777 MB / 2.751 GB, free: 11 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003544/5.416, allocations: 1.208 MB / 2.752 GB, free: 9.691 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.097e-06/5.416, allocations: 3.938 kB / 2.752 GB, free: 9.688 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.03878/5.455, allocations: 13.32 MB / 2.765 GB, free: 12.14 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004491/5.455, allocations: 0.9396 MB / 2.766 GB, free: 10.98 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004886/5.46, allocations: 2.424 MB / 2.768 GB, free: 8.551 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0004774/5.461, allocations: 61.7 kB / 2.768 GB, free: 8.484 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/5.462, allocations: 1.364 MB / 2.77 GB, free: 7.105 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005939/5.463, allocations: 433.9 kB / 2.77 GB, free: 6.676 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/5.463, allocations: 36 kB / 2.77 GB, free: 6.641 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001581/5.463, allocations: 361.9 kB / 2.77 GB, free: 6.281 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003636/5.467, allocations: 0.929 MB / 2.771 GB, free: 5.352 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/5.471, allocations: 1.556 MB / 2.773 GB, free: 3.531 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/5.475, allocations: 1.076 MB / 2.774 GB, free: 2.453 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/5.475, allocations: 4 kB / 2.774 GB, free: 2.449 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.8568/6.332, allocations: 2.969 MB / 2.777 GB, free: 164.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/6.333, allocations: 5.264 MB / 2.782 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/6.333, allocations: 11.75 kB / 2.782 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/6.337, allocations: 0.9256 MB / 2.783 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/6.34, allocations: 456.8 kB / 2.783 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/6.343, allocations: 2.184 MB / 2.785 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/6.35, allocations: 416.9 kB / 2.786 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005399/6.35, allocations: 108.5 kB / 2.786 GB, free: 157.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/6.35, allocations: 7.312 kB / 2.786 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/6.36, allocations: 2.649 MB / 2.789 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.254e-05/6.361, allocations: 17.23 kB / 2.789 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/6.364, allocations: 0.9252 MB / 2.789 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/6.367, allocations: 437 kB / 2.79 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/6.37, allocations: 2.186 MB / 2.792 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005512/6.376, allocations: 355.8 kB / 2.792 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005763/6.376, allocations: 109.9 kB / 2.792 GB, free: 156.5 MB / 1.182 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 () * Number of clocked 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002547/6.379, allocations: 0.7003 MB / 2.793 GB, free: 156.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/6.38, allocations: 289.4 kB / 2.793 GB, free: 156.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/6.391, allocations: 2.353 MB / 2.796 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/6.391, allocations: 16.16 kB / 2.796 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/6.391, allocations: 5.156 kB / 2.796 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009187/6.4, allocations: 2.115 MB / 2.798 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/6.418, allocations: 6.765 MB / 2.804 GB, free: 154 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/6.418, allocations: 6.875 kB / 2.804 GB, free: 154 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/6.42, allocations: 289.8 kB / 2.805 GB, free: 154 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/6.422, allocations: 0.7883 MB / 2.805 GB, free: 154 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/6.423, allocations: 53.03 kB / 2.805 GB, free: 154 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/6.425, allocations: 1.959 MB / 2.807 GB, free: 152.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/6.425, allocations: 9.031 kB / 2.807 GB, free: 152.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/6.438, allocations: 4.122 MB / 2.811 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002845/6.441, allocations: 0.6569 MB / 2.812 GB, free: 151.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/6.442, allocations: 32.25 kB / 2.812 GB, free: 151.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004346/6.446, allocations: 285.1 kB / 2.812 GB, free: 151.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/6.447, allocations: 108.7 kB / 2.812 GB, free: 151.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/6.447, allocations: 77.17 kB / 2.813 GB, free: 151.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004261/6.451, allocations: 1.907 MB / 2.814 GB, free: 151.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.81e-07/6.451, allocations: 0 / 2.814 GB, free: 151.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008624/6.46, allocations: 1.653 MB / 2.816 GB, free: 151.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.003442/6.463, allocations: 1.493 MB / 2.817 GB, free: 151.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01232/6.476, allocations: 3.541 MB / 2.821 GB, free: 150.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.339e-05/6.476, allocations: 5.703 kB / 2.821 GB, free: 150.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/6.479, allocations: 1.042 MB / 2.822 GB, free: 150.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008308/6.488, allocations: 1.496 MB / 2.823 GB, free: 150.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/6.502, allocations: 5.991 MB / 2.829 GB, free: 148.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/6.504, allocations: 1.775 MB / 2.831 GB, free: 147.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004373/6.508, allocations: 0.6646 MB / 2.832 GB, free: 147.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/6.509, allocations: 233.6 kB / 2.832 GB, free: 147.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.183e-06/6.509, allocations: 3.719 kB / 2.832 GB, free: 147.5 MB / 1.182 GB Notification: Performance of Templates: time 0.1261/6.635, allocations: 76.13 MB / 2.906 GB, free: 144.2 MB / 1.182 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