Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001101/0.001101, allocations: 180.9 kB / 492.3 MB, free: 0.5938 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.56/1.56, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009453/0.0009454, allocations: 97.77 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.042e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2562, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.429, allocations: 436.3 MB / 1.638 GB, free: 10.54 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.43, allocations: 92.31 kB / 1.639 GB, free: 10.49 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.409/5.838, allocations: 1.066 GB / 2.705 GB, free: 157.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.719e-06/5.838, allocations: 0 / 2.705 GB, free: 157.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008785/5.839, allocations: 83.69 kB / 2.705 GB, free: 157.4 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01442/5.854, allocations: 3.187 MB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/5.854, allocations: 7.156 kB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009851/5.864, allocations: 1.211 MB / 2.709 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/5.875, allocations: 3.311 MB / 2.712 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004577/5.876, allocations: 243.2 kB / 2.712 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/5.877, allocations: 241.8 kB / 2.713 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009324/5.886, allocations: 2.781 MB / 2.715 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/5.886, allocations: 10.34 kB / 2.715 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008435/5.887, allocations: 99.38 kB / 2.715 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/5.887, allocations: 71.5 kB / 2.716 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005578/5.893, allocations: 2.106 MB / 2.718 GB, free: 155 MB / 1.167 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.03007/5.923, allocations: 13.13 MB / 2.73 GB, free: 149.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/5.925, allocations: 1.178 MB / 2.732 GB, free: 149.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/5.927, allocations: 0.6262 MB / 2.732 GB, free: 149.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/5.929, allocations: 1.779 MB / 2.734 GB, free: 147.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/5.93, allocations: 0.9493 MB / 2.735 GB, free: 147 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 1.376e-05/5.93, allocations: 2.406 kB / 2.735 GB, free: 147 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006257/5.937, allocations: 1.701 MB / 2.736 GB, free: 146.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003767/5.937, allocations: 0.9355 MB / 2.737 GB, free: 145.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006119/5.943, allocations: 2.253 MB / 2.74 GB, free: 145.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/5.944, allocations: 60.98 kB / 2.74 GB, free: 145.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/5.946, allocations: 1.362 MB / 2.741 GB, free: 145 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008736/5.947, allocations: 414.8 kB / 2.741 GB, free: 144.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/5.947, allocations: 36.75 kB / 2.741 GB, free: 144.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001968/5.947, allocations: 370 kB / 2.742 GB, free: 144.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/5.949, allocations: 0.6267 MB / 2.742 GB, free: 144.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/5.951, allocations: 1.231 MB / 2.744 GB, free: 143.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/5.952, allocations: 0.7693 MB / 2.744 GB, free: 143.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/5.952, allocations: 3.656 kB / 2.744 GB, free: 143.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00472/5.957, allocations: 2.228 MB / 2.747 GB, free: 143.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/5.958, allocations: 5.037 MB / 2.751 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/5.958, allocations: 13.69 kB / 2.751 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/5.96, allocations: 0.6369 MB / 2.752 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/5.963, allocations: 499.5 kB / 2.753 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/5.965, allocations: 1.693 MB / 2.754 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/5.97, allocations: 0.5096 MB / 2.755 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004717/5.971, allocations: 104 kB / 2.755 GB, free: 137 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/5.971, allocations: 5.938 kB / 2.755 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004138/5.975, allocations: 1.959 MB / 2.757 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/5.975, allocations: 14.09 kB / 2.757 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/5.977, allocations: 0.6454 MB / 2.757 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/5.98, allocations: 478.5 kB / 2.758 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/5.981, allocations: 1.693 MB / 2.759 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/5.987, allocations: 451.1 kB / 2.76 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005058/5.987, allocations: 101.3 kB / 2.76 GB, free: 135.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0009295/5.988, allocations: 212.3 kB / 2.76 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/5.99, allocations: 269.7 kB / 2.76 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/5.995, allocations: 1.71 MB / 2.762 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/5.995, allocations: 14.03 kB / 2.762 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/5.995, allocations: 9.406 kB / 2.762 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003943/5.999, allocations: 1.497 MB / 2.764 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/6.013, allocations: 6.416 MB / 2.77 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/6.013, allocations: 3.938 kB / 2.77 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/6.015, allocations: 294.3 kB / 2.77 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/6.017, allocations: 0.6339 MB / 2.771 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/6.017, allocations: 45.47 kB / 2.771 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/6.018, allocations: 1.683 MB / 2.772 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/6.018, allocations: 10.84 kB / 2.772 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005568/6.024, allocations: 3.29 MB / 2.776 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/6.026, allocations: 0.6578 MB / 2.776 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/6.028, allocations: 36.78 kB / 2.776 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/6.032, allocations: 274.4 kB / 2.777 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/6.032, allocations: 116.1 kB / 2.777 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/6.033, allocations: 74.61 kB / 2.777 GB, free: 130.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004216/6.037, allocations: 1.744 MB / 2.779 GB, free: 130.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.11e-07/6.037, allocations: 0 / 2.779 GB, free: 130.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008647/6.046, allocations: 1.843 MB / 2.78 GB, free: 129.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004203/6.05, allocations: 1.504 MB / 2.782 GB, free: 129.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006515/6.056, allocations: 2.708 MB / 2.784 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/6.056, allocations: 4.062 kB / 2.784 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/6.058, allocations: 0.7726 MB / 2.785 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008237/6.066, allocations: 1.381 MB / 2.787 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/6.078, allocations: 3.989 MB / 2.79 GB, free: 128.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/6.081, allocations: 1.771 MB / 2.792 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005582/6.086, allocations: 0.85 MB / 2.793 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/6.087, allocations: 191.2 kB / 2.793 GB, free: 127.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/6.087, allocations: 1.156 kB / 2.793 GB, free: 127.3 MB / 1.167 GB Notification: Performance of Templates: time 0.1141/6.201, allocations: 77.36 MB / 2.869 GB, free: 123.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches