Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.94/1.94, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001049/0.001049, allocations: 181.3 kB / 490.8 MB, free: 1.957 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.268/1.268, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0009253/0.0009253, allocations: 97.77 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.817e-06/8.847e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.941/1.205, allocations: 430.4 MB / 1.632 GB, free: 1.551 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.205, allocations: 88.52 kB / 1.632 GB, free: 1.508 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.059/4.264, allocations: 0.959 GB / 2.591 GB, free: 27.06 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002311/4.264, allocations: 75.92 kB / 2.591 GB, free: 26.98 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.006432/4.271, allocations: 2.958 MB / 2.594 GB, free: 23.96 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/4.271, allocations: 12.03 kB / 2.594 GB, free: 23.95 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/4.273, allocations: 0.6244 MB / 2.595 GB, free: 23.32 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/4.279, allocations: 3.033 MB / 2.598 GB, free: 20.22 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/4.279, allocations: 226.6 kB / 2.598 GB, free: 19.98 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/4.28, allocations: 116 kB / 2.598 GB, free: 19.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003281/4.283, allocations: 1.816 MB / 2.6 GB, free: 18.05 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/4.287, allocations: 2.134 MB / 2.602 GB, free: 15.78 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.758e-05/4.287, allocations: 7.938 kB / 2.602 GB, free: 15.77 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/4.287, allocations: 7.984 kB / 2.602 GB, free: 15.76 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/4.287, allocations: 91.52 kB / 2.602 GB, free: 15.67 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/4.304, allocations: 11.81 MB / 2.613 GB, free: 3.352 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/4.306, allocations: 1.172 MB / 2.614 GB, free: 2.133 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/4.306, allocations: 0.6681 MB / 2.615 GB, free: 1.465 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/4.307, allocations: 1.327 MB / 2.616 GB, free: 15.84 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/4.309, allocations: 0.9705 MB / 2.617 GB, free: 14.79 MB / 1.182 GB Notification: Performance of pre-optimization done (n=107): time 3.817e-06/4.309, allocations: 0 / 2.617 GB, free: 14.79 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.00329/4.312, allocations: 1.464 MB / 2.619 GB, free: 13.31 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004232/4.312, allocations: 0.7811 MB / 2.62 GB, free: 12.35 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/4.316, allocations: 2.021 MB / 2.622 GB, free: 10.32 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/4.316, allocations: 29.7 kB / 2.622 GB, free: 10.28 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/4.317, allocations: 0.8877 MB / 2.622 GB, free: 9.367 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/4.318, allocations: 362.7 kB / 2.623 GB, free: 9.008 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/4.318, allocations: 0 / 2.623 GB, free: 9.008 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001737/4.318, allocations: 365.9 kB / 2.623 GB, free: 8.645 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/4.319, allocations: 0.6171 MB / 2.624 GB, free: 8.027 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/4.32, allocations: 1.174 MB / 2.625 GB, free: 6.625 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/4.322, allocations: 0.762 MB / 2.626 GB, free: 5.863 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/4.322, allocations: 4 kB / 2.626 GB, free: 5.859 MB / 1.182 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003704/4.326, allocations: 1.843 MB / 2.627 GB, free: 4.008 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001895/4.328, allocations: 4.221 MB / 2.632 GB, free: 15.41 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/4.328, allocations: 12 kB / 2.632 GB, free: 15.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/4.328, allocations: 16 kB / 2.632 GB, free: 15.38 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/4.329, allocations: 403.4 kB / 2.632 GB, free: 14.99 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/4.329, allocations: 19.94 kB / 2.632 GB, free: 14.97 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/4.332, allocations: 266.2 kB / 2.632 GB, free: 14.71 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/4.332, allocations: 71.97 kB / 2.632 GB, free: 14.64 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/4.332, allocations: 7.125 kB / 2.632 GB, free: 14.63 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/4.335, allocations: 1.555 MB / 2.634 GB, free: 13.08 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/4.335, allocations: 12 kB / 2.634 GB, free: 13.07 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/4.335, allocations: 24.09 kB / 2.634 GB, free: 13.04 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/4.337, allocations: 399.4 kB / 2.634 GB, free: 12.65 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/4.337, allocations: 19.94 kB / 2.634 GB, free: 12.63 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/4.339, allocations: 230.6 kB / 2.634 GB, free: 12.41 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/4.34, allocations: 71.97 kB / 2.635 GB, free: 12.34 MB / 1.198 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.0004392/4.34, allocations: 160.6 kB / 2.635 GB, free: 12.17 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/4.341, allocations: 249 kB / 2.635 GB, free: 11.93 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/4.344, allocations: 1.724 MB / 2.637 GB, free: 10.17 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/4.344, allocations: 12 kB / 2.637 GB, free: 10.16 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/4.344, allocations: 4 kB / 2.637 GB, free: 10.16 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00198/4.346, allocations: 1.319 MB / 2.638 GB, free: 8.785 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008075/4.354, allocations: 5.169 MB / 2.643 GB, free: 3.473 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/4.354, allocations: 7.984 kB / 2.643 GB, free: 3.465 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/4.355, allocations: 276.1 kB / 2.643 GB, free: 3.195 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/4.356, allocations: 8 kB / 2.643 GB, free: 3.188 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/4.356, allocations: 15.98 kB / 2.643 GB, free: 3.172 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/4.356, allocations: 15.92 kB / 2.643 GB, free: 3.156 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/4.356, allocations: 8 kB / 2.643 GB, free: 3.148 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.5707/4.926, allocations: 2.968 MB / 2.646 GB, free: 312.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/4.928, allocations: 0.5961 MB / 2.647 GB, free: 312.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007379/4.929, allocations: 14.56 kB / 2.647 GB, free: 312.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/4.931, allocations: 137.4 kB / 2.647 GB, free: 312.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/4.931, allocations: 102.9 kB / 2.647 GB, free: 312.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/4.932, allocations: 54.69 kB / 2.647 GB, free: 312.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.002368/4.934, allocations: 1.558 MB / 2.649 GB, free: 312.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004312/4.938, allocations: 1.5 MB / 2.65 GB, free: 312.2 MB / 1.198 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.001984/4.94, allocations: 1.204 MB / 2.651 GB, free: 312.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003458/4.944, allocations: 2.524 MB / 2.654 GB, free: 312 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/4.944, allocations: 3.453 kB / 2.654 GB, free: 312 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/4.945, allocations: 0.7544 MB / 2.654 GB, free: 312 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/4.95, allocations: 0.9933 MB / 2.655 GB, free: 312 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007532/4.957, allocations: 3.751 MB / 2.659 GB, free: 311 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/4.959, allocations: 2.061 MB / 2.661 GB, free: 310.3 MB / 1.198 GB Notification: Performance of SimCode: time 9.41e-07/4.959, allocations: 3.188 kB / 2.661 GB, free: 310.3 MB / 1.198 GB Notification: Performance of Templates: time 0.09381/5.053, allocations: 61.57 MB / 2.721 GB, free: 309.2 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches