Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 393.5 MB / 408.5 MB, free: 10.84 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.001322/0.001322, allocations: 180 kB / 0.4902 GB, free: 2.082 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.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.001052/0.001052, allocations: 102.9 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 10.44 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3338, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.569, allocations: 437.1 MB / 1.656 GB, free: 8.52 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/1.57, allocations: 97.44 kB / 1.656 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.796/5.366, allocations: 1.069 GB / 2.725 GB, free: 27.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.195e-06/5.366, allocations: 0 / 2.725 GB, free: 27.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005283/5.366, allocations: 83.92 kB / 2.726 GB, free: 27.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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01203/5.378, allocations: 3.685 MB / 2.729 GB, free: 23.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/5.378, allocations: 12.03 kB / 2.729 GB, free: 23.24 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009718/5.388, allocations: 1.21 MB / 2.73 GB, free: 22.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009068/5.397, allocations: 3.336 MB / 2.734 GB, free: 18.61 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/5.397, allocations: 247.9 kB / 2.734 GB, free: 18.35 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009757/5.398, allocations: 236 kB / 2.734 GB, free: 18.12 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00997/5.408, allocations: 3.136 MB / 2.737 GB, free: 14.79 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.841e-05/5.409, allocations: 7.938 kB / 2.737 GB, free: 14.78 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000628/5.409, allocations: 100 kB / 2.737 GB, free: 14.68 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/5.409, allocations: 75.97 kB / 2.737 GB, free: 14.61 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008843/5.418, allocations: 2.768 MB / 2.74 GB, free: 11.82 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.02298/5.441, allocations: 13.13 MB / 2.753 GB, free: 14.12 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/5.446, allocations: 1.503 MB / 2.754 GB, free: 12.57 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/5.448, allocations: 1.777 MB / 2.756 GB, free: 10.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003923/5.452, allocations: 1.215 MB / 2.757 GB, free: 9.086 MB / 1.182 GB Notification: Performance of pre-optimization done (n=118): time 6.001e-06/5.452, allocations: 3.938 kB / 2.757 GB, free: 9.082 MB / 1.182 GB Notification: Performance of matching and sorting (n=118): time 0.0223/5.474, allocations: 4.278 MB / 2.761 GB, free: 4.758 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005504/5.475, allocations: 0.9397 MB / 2.762 GB, free: 3.598 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006652/5.482, allocations: 2.329 MB / 2.765 GB, free: 1.258 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000465/5.482, allocations: 61.7 kB / 2.765 GB, free: 1.191 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.8115/6.294, allocations: 1.355 MB / 2.766 GB, free: 162.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009686/6.295, allocations: 416.8 kB / 2.766 GB, free: 162.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/6.295, allocations: 35.69 kB / 2.766 GB, free: 162.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001891/6.295, allocations: 362.3 kB / 2.767 GB, free: 162 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004004/6.299, allocations: 0.9424 MB / 2.768 GB, free: 162 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/6.303, allocations: 1.559 MB / 2.769 GB, free: 161.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/6.307, allocations: 1.079 MB / 2.77 GB, free: 161.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/6.307, allocations: 3.438 kB / 2.77 GB, free: 161.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01047/6.318, allocations: 2.909 MB / 2.773 GB, free: 161 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/6.319, allocations: 5.034 MB / 2.778 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/6.319, allocations: 11.97 kB / 2.778 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/6.322, allocations: 0.7197 MB / 2.779 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/6.325, allocations: 0.4897 MB / 2.779 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/6.327, allocations: 1.792 MB / 2.781 GB, free: 154.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/6.333, allocations: 0.5137 MB / 2.781 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005765/6.334, allocations: 105.7 kB / 2.782 GB, free: 154.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/6.334, allocations: 3.75 kB / 2.782 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009699/6.344, allocations: 2.586 MB / 2.784 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.891e-05/6.344, allocations: 11.53 kB / 2.784 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/6.346, allocations: 0.7287 MB / 2.785 GB, free: 154.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/6.349, allocations: 487 kB / 2.785 GB, free: 154.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/6.351, allocations: 1.796 MB / 2.787 GB, free: 153.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005146/6.357, allocations: 438.3 kB / 2.787 GB, free: 153.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/6.357, allocations: 104.4 kB / 2.788 GB, free: 153.4 MB / 1.182 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 () * Number of clocked 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.002605/6.36, allocations: 0.6969 MB / 2.788 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/6.361, allocations: 278.3 kB / 2.788 GB, free: 153.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/6.371, allocations: 2.271 MB / 2.791 GB, free: 153 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/6.371, allocations: 15.83 kB / 2.791 GB, free: 153 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/6.371, allocations: 5.062 kB / 2.791 GB, free: 153 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009009/6.38, allocations: 2.059 MB / 2.793 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/6.398, allocations: 6.994 MB / 2.8 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/6.398, allocations: 3.188 kB / 2.8 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/6.4, allocations: 294.4 kB / 2.8 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/6.402, allocations: 0.7117 MB / 2.801 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/6.402, allocations: 49.88 kB / 2.801 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/6.404, allocations: 1.788 MB / 2.802 GB, free: 149.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/6.404, allocations: 7.125 kB / 2.802 GB, free: 149.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/6.415, allocations: 4.108 MB / 2.806 GB, free: 148.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/6.417, allocations: 0.6579 MB / 2.807 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006498/6.418, allocations: 39.5 kB / 2.807 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/6.421, allocations: 275.9 kB / 2.807 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/6.422, allocations: 114.9 kB / 2.807 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/6.422, allocations: 68.38 kB / 2.807 GB, free: 147.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00348/6.425, allocations: 1.83 MB / 2.809 GB, free: 147.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.21e-07/6.425, allocations: 0.75 kB / 2.809 GB, free: 147.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008011/6.433, allocations: 1.844 MB / 2.811 GB, free: 147.7 MB / 1.182 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) * Number of clocked states: 0 () * 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.003246/6.437, allocations: 1.485 MB / 2.812 GB, free: 147.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01211/6.449, allocations: 3.493 MB / 2.816 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/6.449, allocations: 6.875 kB / 2.816 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/6.452, allocations: 1.031 MB / 2.817 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/6.459, allocations: 1.393 MB / 2.818 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/6.472, allocations: 6.098 MB / 2.824 GB, free: 144.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/6.474, allocations: 1.768 MB / 2.826 GB, free: 143.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003903/6.477, allocations: 0.686 MB / 2.827 GB, free: 143.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/6.478, allocations: 235.6 kB / 2.827 GB, free: 143.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.603e-06/6.478, allocations: 0 / 2.827 GB, free: 143.9 MB / 1.182 GB Notification: Performance of Templates: time 0.1163/6.594, allocations: 71.67 MB / 2.897 GB, free: 140.6 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches