Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") [: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 2.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001525/0.001525, allocations: 189.2 kB / 490.8 MB, free: 1.953 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.395/1.395, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0009542/0.0009542, allocations: 99.05 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.516e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.902/1.171, allocations: 434.7 MB / 1.636 GB, free: 13.2 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.172, allocations: 82.64 kB / 1.636 GB, free: 13.16 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.472/4.644, allocations: 1.069 GB / 2.705 GB, free: 227.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001133/4.644, allocations: 35.61 kB / 2.705 GB, free: 227.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002828/4.647, allocations: 1.495 MB / 2.707 GB, free: 227 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/4.647, allocations: 13.72 kB / 2.707 GB, free: 227 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/4.649, allocations: 384.2 kB / 2.707 GB, free: 227 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/4.651, allocations: 1.261 MB / 2.708 GB, free: 226.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/4.651, allocations: 106.2 kB / 2.708 GB, free: 226.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/4.652, allocations: 50.06 kB / 2.708 GB, free: 226.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/4.653, allocations: 0.6121 MB / 2.709 GB, free: 226.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/4.654, allocations: 0.7463 MB / 2.71 GB, free: 226.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/4.654, allocations: 2.625 kB / 2.71 GB, free: 226.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/4.654, allocations: 3.906 kB / 2.71 GB, free: 226.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/4.654, allocations: 28.84 kB / 2.71 GB, free: 226.5 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00525/4.659, allocations: 4.675 MB / 2.714 GB, free: 224 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/4.66, allocations: 409.4 kB / 2.715 GB, free: 223.9 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/4.66, allocations: 181.7 kB / 2.715 GB, free: 223.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/4.661, allocations: 1.374 MB / 2.716 GB, free: 222.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/4.661, allocations: 37.44 kB / 2.716 GB, free: 222.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=42): time 3.607e-06/4.661, allocations: 0 / 2.716 GB, free: 222.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=42): time 0.002948/4.664, allocations: 0.8198 MB / 2.717 GB, free: 222.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/4.664, allocations: 61.28 kB / 2.717 GB, free: 222.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000884/4.665, allocations: 0.7423 MB / 2.718 GB, free: 222.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/4.665, allocations: 29.61 kB / 2.718 GB, free: 222 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/4.665, allocations: 387.6 kB / 2.718 GB, free: 221.9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/4.665, allocations: 140.5 kB / 2.718 GB, free: 221.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/4.665, allocations: 3.938 kB / 2.718 GB, free: 221.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 5.577e-05/4.665, allocations: 332.9 kB / 2.719 GB, free: 221.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/4.666, allocations: 151.8 kB / 2.719 GB, free: 221.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/4.666, allocations: 405.2 kB / 2.719 GB, free: 221.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000804/4.667, allocations: 306.9 kB / 2.72 GB, free: 221.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/4.667, allocations: 0 / 2.72 GB, free: 221.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002986/4.67, allocations: 0.9719 MB / 2.721 GB, free: 221.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/4.67, allocations: 1.58 MB / 2.722 GB, free: 219.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/4.67, allocations: 3.969 kB / 2.722 GB, free: 219.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/4.671, allocations: 230.7 kB / 2.722 GB, free: 219.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/4.671, allocations: 108.4 kB / 2.722 GB, free: 219.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008751/4.672, allocations: 0.8799 MB / 2.723 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/4.673, allocations: 165.8 kB / 2.723 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/4.673, allocations: 32.41 kB / 2.723 GB, free: 218.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/4.673, allocations: 9 kB / 2.723 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002813/4.676, allocations: 0.8436 MB / 2.724 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/4.676, allocations: 3 kB / 2.724 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/4.677, allocations: 235.9 kB / 2.725 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/4.677, allocations: 105 kB / 2.725 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/4.678, allocations: 0.8749 MB / 2.726 GB, free: 218.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/4.679, allocations: 132.5 kB / 2.726 GB, free: 218.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/4.679, allocations: 34.17 kB / 2.726 GB, free: 218.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000152/4.679, allocations: 121.2 kB / 2.726 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/4.68, allocations: 103.7 kB / 2.726 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/4.683, allocations: 1.014 MB / 2.727 GB, free: 218.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/4.683, allocations: 13.81 kB / 2.727 GB, free: 218.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/4.683, allocations: 0 / 2.727 GB, free: 218.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/4.683, allocations: 4.406 kB / 2.727 GB, free: 218.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/4.687, allocations: 1.896 MB / 2.729 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/4.687, allocations: 4.5 kB / 2.729 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/4.687, allocations: 53.66 kB / 2.729 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000599/4.688, allocations: 249.2 kB / 2.729 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/4.688, allocations: 11.52 kB / 2.729 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008774/4.689, allocations: 0.9091 MB / 2.73 GB, free: 217.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/4.689, allocations: 7.125 kB / 2.73 GB, free: 217.2 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002939/4.692, allocations: 1.144 MB / 2.731 GB, free: 216.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/4.692, allocations: 253.7 kB / 2.731 GB, free: 216.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/4.692, allocations: 13.08 kB / 2.731 GB, free: 216.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/4.693, allocations: 94.52 kB / 2.731 GB, free: 216.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/4.693, allocations: 40.83 kB / 2.731 GB, free: 216.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/4.693, allocations: 23.61 kB / 2.731 GB, free: 216.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.0006491/4.694, allocations: 0.5677 MB / 2.732 GB, free: 216.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.001574/4.696, allocations: 0.6361 MB / 2.733 GB, free: 216.5 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009553/4.696, allocations: 0.6952 MB / 2.733 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001281/4.698, allocations: 0.7592 MB / 2.734 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/4.698, allocations: 2.156 kB / 2.734 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/4.698, allocations: 248.8 kB / 2.734 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/4.7, allocations: 373.5 kB / 2.735 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/4.703, allocations: 1.339 MB / 2.736 GB, free: 215.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/4.704, allocations: 1.161 MB / 2.737 GB, free: 215.2 MB / 1.182 GB Notification: Performance of SimCode: time 9.42e-07/4.704, allocations: 0 / 2.737 GB, free: 215.2 MB / 1.182 GB Notification: Performance of Templates: time 0.03971/4.743, allocations: 25.37 MB / 2.762 GB, free: 214.8 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches