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") [: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.91/1.91, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001073/0.001073, allocations: 182.5 kB / 490.8 MB, free: 1.867 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.26/1.26, allocations: 221.3 MB / 0.7863 GB, free: 13.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.0008592/0.0008593, allocations: 97.41 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.204e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9431/1.18, allocations: 436.3 MB / 1.638 GB, free: 11.34 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.18, allocations: 88.48 kB / 1.638 GB, free: 11.3 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.916/5.096, allocations: 1.067 GB / 2.704 GB, free: 157.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003475/5.097, allocations: 81.5 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.008512/5.105, allocations: 3.199 MB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/5.105, allocations: 8.125 kB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009924/5.115, allocations: 1.305 MB / 2.709 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/5.123, allocations: 3.34 MB / 2.712 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/5.124, allocations: 165.3 kB / 2.712 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/5.124, allocations: 140 kB / 2.713 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003752/5.128, allocations: 1.972 MB / 2.714 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/5.132, allocations: 2.464 MB / 2.717 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/5.132, allocations: 11.03 kB / 2.717 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/5.132, allocations: 11.06 kB / 2.717 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/5.132, allocations: 64.3 kB / 2.717 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/5.153, allocations: 13.77 MB / 2.73 GB, free: 148.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/5.154, allocations: 1.062 MB / 2.731 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/5.155, allocations: 0.6012 MB / 2.732 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/5.157, allocations: 1.775 MB / 2.734 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/5.158, allocations: 0.9149 MB / 2.735 GB, free: 146.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.696e-06/5.158, allocations: 0 / 2.735 GB, free: 146.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006071/5.164, allocations: 1.675 MB / 2.736 GB, free: 146.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/5.164, allocations: 0.9392 MB / 2.737 GB, free: 145 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/5.168, allocations: 1.859 MB / 2.739 GB, free: 144.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003749/5.168, allocations: 36.3 kB / 2.739 GB, free: 144.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009224/5.169, allocations: 0.978 MB / 2.74 GB, free: 144.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/5.169, allocations: 398.8 kB / 2.74 GB, free: 144 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/5.17, allocations: 1.844 kB / 2.74 GB, free: 144 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000141/5.17, allocations: 367.5 kB / 2.741 GB, free: 143.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/5.171, allocations: 0.6 MB / 2.741 GB, free: 143.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/5.172, allocations: 1.19 MB / 2.742 GB, free: 143.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/5.174, allocations: 0.8183 MB / 2.743 GB, free: 143 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/5.174, allocations: 3.875 kB / 2.743 GB, free: 143 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004824/5.179, allocations: 2.127 MB / 2.745 GB, free: 142.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009334/5.18, allocations: 4.905 MB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/5.18, allocations: 13.84 kB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/5.181, allocations: 0.5365 MB / 2.751 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/5.184, allocations: 0.4949 MB / 2.751 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/5.186, allocations: 1.802 MB / 2.753 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/5.192, allocations: 470.5 kB / 2.753 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/5.192, allocations: 108.2 kB / 2.753 GB, free: 136.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/5.192, allocations: 3.938 kB / 2.753 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004244/5.196, allocations: 1.827 MB / 2.755 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/5.196, allocations: 13.5 kB / 2.755 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/5.197, allocations: 0.5324 MB / 2.756 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/5.2, allocations: 493.2 kB / 2.756 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/5.202, allocations: 1.798 MB / 2.758 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004884/5.207, allocations: 376 kB / 2.758 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/5.207, allocations: 111.4 kB / 2.758 GB, free: 135.3 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.0007111/5.208, allocations: 158.8 kB / 2.759 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007507/5.209, allocations: 242.8 kB / 2.759 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005816/5.215, allocations: 1.714 MB / 2.761 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/5.215, allocations: 19.62 kB / 2.761 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/5.215, allocations: 7.844 kB / 2.761 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004429/5.219, allocations: 1.522 MB / 2.762 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/5.231, allocations: 6.117 MB / 2.768 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/5.231, allocations: 6.906 kB / 2.768 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/5.233, allocations: 299 kB / 2.768 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/5.234, allocations: 0.5183 MB / 2.769 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/5.234, allocations: 35.12 kB / 2.769 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/5.236, allocations: 1.794 MB / 2.771 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/5.236, allocations: 9.812 kB / 2.771 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00596/5.242, allocations: 3.161 MB / 2.774 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/5.244, allocations: 0.625 MB / 2.774 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/5.244, allocations: 16.22 kB / 2.774 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/5.247, allocations: 270.7 kB / 2.775 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/5.248, allocations: 103.3 kB / 2.775 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/5.248, allocations: 71.52 kB / 2.775 GB, free: 130.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002179/5.25, allocations: 1.39 MB / 2.776 GB, free: 130 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005738/5.256, allocations: 1.816 MB / 2.778 GB, free: 129.7 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.002904/5.259, allocations: 1.494 MB / 2.779 GB, free: 129.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004561/5.263, allocations: 2.514 MB / 2.782 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/5.263, allocations: 0.7188 kB / 2.782 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/5.265, allocations: 0.7508 MB / 2.783 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.005277/5.27, allocations: 1.038 MB / 2.784 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/5.281, allocations: 4.08 MB / 2.788 GB, free: 128 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/5.283, allocations: 2.042 MB / 2.79 GB, free: 127.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.193e-06/5.283, allocations: 0 / 2.79 GB, free: 127.3 MB / 1.167 GB Notification: Performance of Templates: time 0.1117/5.395, allocations: 74.05 MB / 2.862 GB, free: 124.1 MB / 1.167 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