Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.156/1.156, allocations: 249.4 MB / 256.7 MB, free: 15.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 177.1 kB / 316 MB, free: 7.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.1 MB / 0.5667 GB, free: 23.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.0007843, allocations: 80.83 kB / 0.671 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.604e-06, allocations: 4 kB / 0.7807 GB, free: 464 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.359, allocations: 106.3 MB / 0.8846 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6152/0.9742, allocations: 409.4 MB / 1.284 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.9745, allocations: 87.39 kB / 1.284 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.535/3.509, allocations: 0.9106 GB / 2.195 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001978/3.51, allocations: 76.17 kB / 2.195 GB, free: 115.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.0052/3.515, allocations: 2.936 MB / 2.198 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/3.515, allocations: 8.281 kB / 2.198 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/3.517, allocations: 0.6232 MB / 2.199 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006456/3.524, allocations: 2.965 MB / 2.202 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/3.524, allocations: 225.6 kB / 2.202 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/3.524, allocations: 120 kB / 2.202 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003093/3.527, allocations: 1.819 MB / 2.204 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/3.53, allocations: 2.089 MB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/3.53, allocations: 6.094 kB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/3.531, allocations: 10.16 kB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/3.531, allocations: 65.5 kB / 2.206 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/3.545, allocations: 11.75 MB / 2.217 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/3.547, allocations: 1.182 MB / 2.218 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/3.548, allocations: 0.6573 MB / 2.219 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007079/3.548, allocations: 1.332 MB / 2.22 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/3.549, allocations: 0.914 MB / 2.221 GB, free: 104 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 3.467e-06/3.549, allocations: 2.875 kB / 2.221 GB, free: 104 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.002764/3.552, allocations: 1.46 MB / 2.223 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/3.552, allocations: 0.6789 MB / 2.223 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/3.555, allocations: 2.008 MB / 2.225 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/3.555, allocations: 29.36 kB / 2.225 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/3.556, allocations: 0.9018 MB / 2.226 GB, free: 101 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/3.556, allocations: 359.3 kB / 2.227 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/3.556, allocations: 0 / 2.227 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/3.556, allocations: 357.8 kB / 2.227 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/3.557, allocations: 0.6222 MB / 2.227 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/3.558, allocations: 1.189 MB / 2.229 GB, free: 99.15 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/3.56, allocations: 0.7701 MB / 2.229 GB, free: 98.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/3.56, allocations: 3.781 kB / 2.229 GB, free: 98.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003059/3.563, allocations: 1.84 MB / 2.231 GB, free: 98.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006244/3.563, allocations: 4.219 MB / 2.235 GB, free: 93.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/3.563, allocations: 7.469 kB / 2.235 GB, free: 93.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/3.563, allocations: 20.5 kB / 2.235 GB, free: 93.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/3.565, allocations: 408 kB / 2.236 GB, free: 93.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/3.565, allocations: 23.33 kB / 2.236 GB, free: 93.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/3.568, allocations: 270 kB / 2.236 GB, free: 93.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/3.568, allocations: 68.77 kB / 2.236 GB, free: 93.44 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/3.568, allocations: 3.844 kB / 2.236 GB, free: 93.44 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002471/3.57, allocations: 1.554 MB / 2.238 GB, free: 92.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/3.57, allocations: 11.16 kB / 2.238 GB, free: 92.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/3.57, allocations: 23.31 kB / 2.238 GB, free: 92.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/3.572, allocations: 401.4 kB / 2.238 GB, free: 92.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/3.572, allocations: 35.84 kB / 2.238 GB, free: 92.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/3.574, allocations: 214.2 kB / 2.238 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/3.575, allocations: 70.2 kB / 2.238 GB, free: 92.73 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003614/3.575, allocations: 150.5 kB / 2.238 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/3.575, allocations: 249.2 kB / 2.239 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/3.578, allocations: 1.724 MB / 2.24 GB, free: 91.78 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/3.578, allocations: 14.44 kB / 2.24 GB, free: 91.78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/3.578, allocations: 3.938 kB / 2.24 GB, free: 91.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/3.58, allocations: 1.313 MB / 2.242 GB, free: 91.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006401/3.586, allocations: 5.133 MB / 2.247 GB, free: 88.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/3.586, allocations: 6.344 kB / 2.247 GB, free: 88.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/3.588, allocations: 273.5 kB / 2.247 GB, free: 88.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/3.588, allocations: 14.08 kB / 2.247 GB, free: 88.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-05/3.588, allocations: 20.02 kB / 2.247 GB, free: 88.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/3.588, allocations: 15.25 kB / 2.247 GB, free: 88.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/3.588, allocations: 3.75 kB / 2.247 GB, free: 88.09 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003704/3.592, allocations: 2.962 MB / 2.25 GB, free: 86.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/3.593, allocations: 0.588 MB / 2.25 GB, free: 85.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/3.593, allocations: 15.61 kB / 2.25 GB, free: 85.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/3.595, allocations: 140.5 kB / 2.251 GB, free: 85.86 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/3.595, allocations: 92.95 kB / 2.251 GB, free: 85.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/3.595, allocations: 49.16 kB / 2.251 GB, free: 85.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002071/3.597, allocations: 1.56 MB / 2.252 GB, free: 85.15 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004264/3.602, allocations: 1.495 MB / 2.254 GB, free: 84.83 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/3.604, allocations: 1.224 MB / 2.255 GB, free: 84.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004182/3.608, allocations: 2.52 MB / 2.257 GB, free: 83.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/3.608, allocations: 2.406 kB / 2.257 GB, free: 83.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/3.609, allocations: 0.7543 MB / 2.258 GB, free: 83.14 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/3.615, allocations: 1.015 MB / 2.259 GB, free: 82.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/3.622, allocations: 3.739 MB / 2.263 GB, free: 80.63 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/3.624, allocations: 2.052 MB / 2.265 GB, free: 79.04 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/3.624, allocations: 0 / 2.265 GB, free: 79.04 MB / 0.8698 GB Notification: Performance of Templates: time 0.08121/3.705, allocations: 61.23 MB / 2.325 GB, free: 20.05 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches