Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.00128/0.001281, allocations: 187.9 kB / 487 MB, free: 5.422 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.416/1.416, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 95.19 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.873e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2786, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9549/1.233, allocations: 435.5 MB / 1.631 GB, free: 4.332 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.234, allocations: 88.86 kB / 1.631 GB, free: 4.289 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.498/4.732, allocations: 1.067 GB / 2.697 GB, free: 159.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002929/4.732, allocations: 75.06 kB / 2.697 GB, free: 159.1 MB / 1.151 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.007025/4.739, allocations: 3.207 MB / 2.701 GB, free: 157.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/4.739, allocations: 6.812 kB / 2.701 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009493/4.749, allocations: 1.303 MB / 2.702 GB, free: 157.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/4.756, allocations: 3.348 MB / 2.705 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/4.756, allocations: 172.7 kB / 2.705 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/4.756, allocations: 133.4 kB / 2.705 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003638/4.76, allocations: 1.969 MB / 2.707 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/4.763, allocations: 2.47 MB / 2.71 GB, free: 156.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/4.764, allocations: 9.594 kB / 2.71 GB, free: 156.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/4.764, allocations: 6.875 kB / 2.71 GB, free: 156.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/4.764, allocations: 73.42 kB / 2.71 GB, free: 156.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/4.784, allocations: 13.75 MB / 2.723 GB, free: 150.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/4.785, allocations: 1.057 MB / 2.724 GB, free: 150 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/4.786, allocations: 0.6062 MB / 2.725 GB, free: 150 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/4.787, allocations: 1.777 MB / 2.727 GB, free: 148 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/4.789, allocations: 0.9059 MB / 2.727 GB, free: 147.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 5.06e-06/4.789, allocations: 0 / 2.727 GB, free: 147.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.006077/4.795, allocations: 1.69 MB / 2.729 GB, free: 147.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/4.795, allocations: 0.935 MB / 2.73 GB, free: 146.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/4.798, allocations: 1.854 MB / 2.732 GB, free: 146.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003071/4.798, allocations: 38.3 kB / 2.732 GB, free: 146.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/4.799, allocations: 0.9843 MB / 2.733 GB, free: 145.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/4.8, allocations: 392.7 kB / 2.733 GB, free: 145.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/4.8, allocations: 0 / 2.733 GB, free: 145.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/4.8, allocations: 367.9 kB / 2.734 GB, free: 145.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009516/4.801, allocations: 0.5984 MB / 2.734 GB, free: 145.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/4.802, allocations: 1.195 MB / 2.735 GB, free: 144.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/4.804, allocations: 0.8152 MB / 2.736 GB, free: 144.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/4.804, allocations: 3.375 kB / 2.736 GB, free: 144.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004714/4.809, allocations: 2.13 MB / 2.738 GB, free: 144.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008737/4.81, allocations: 4.906 MB / 2.743 GB, free: 139 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/4.81, allocations: 10.94 kB / 2.743 GB, free: 139 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/4.811, allocations: 0.5343 MB / 2.744 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/4.814, allocations: 0.5027 MB / 2.744 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/4.816, allocations: 1.799 MB / 2.746 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005329/4.821, allocations: 468.8 kB / 2.746 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/4.822, allocations: 110 kB / 2.746 GB, free: 137.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/4.822, allocations: 3.781 kB / 2.746 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004144/4.826, allocations: 1.828 MB / 2.748 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/4.826, allocations: 14.5 kB / 2.748 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/4.827, allocations: 0.526 MB / 2.749 GB, free: 137.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/4.829, allocations: 498.8 kB / 2.749 GB, free: 137.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/4.832, allocations: 1.805 MB / 2.751 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/4.837, allocations: 366.4 kB / 2.751 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/4.837, allocations: 106.8 kB / 2.751 GB, free: 136.6 MB / 1.151 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.0008157/4.838, allocations: 165 kB / 2.751 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/4.839, allocations: 245.9 kB / 2.752 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006562/4.845, allocations: 1.707 MB / 2.753 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/4.845, allocations: 16.62 kB / 2.753 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/4.846, allocations: 7.094 kB / 2.753 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00477/4.85, allocations: 1.528 MB / 2.755 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/4.864, allocations: 6.114 MB / 2.761 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/4.864, allocations: 5.469 kB / 2.761 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/4.866, allocations: 302.6 kB / 2.761 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/4.868, allocations: 0.5215 MB / 2.762 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/4.868, allocations: 37.95 kB / 2.762 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/4.87, allocations: 1.791 MB / 2.763 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/4.87, allocations: 15.55 kB / 2.763 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006344/4.876, allocations: 3.156 MB / 2.767 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/4.878, allocations: 0.6287 MB / 2.767 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/4.879, allocations: 17.95 kB / 2.767 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/4.883, allocations: 268.8 kB / 2.767 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/4.883, allocations: 107.2 kB / 2.768 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/4.884, allocations: 69.33 kB / 2.768 GB, free: 131.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002952/4.887, allocations: 1.383 MB / 2.769 GB, free: 131.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007308/4.894, allocations: 1.822 MB / 2.771 GB, free: 131 MB / 1.151 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.003416/4.897, allocations: 1.488 MB / 2.772 GB, free: 130.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005076/4.902, allocations: 2.528 MB / 2.775 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/4.902, allocations: 8.031 kB / 2.775 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/4.904, allocations: 0.7339 MB / 2.775 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/4.91, allocations: 1.03 MB / 2.776 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/4.923, allocations: 4.076 MB / 2.78 GB, free: 129.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/4.925, allocations: 2.042 MB / 2.782 GB, free: 128.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/4.926, allocations: 0 / 2.782 GB, free: 128.6 MB / 1.151 GB Notification: Performance of Templates: time 0.1396/5.065, allocations: 74.07 MB / 2.855 GB, free: 124.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches