Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_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.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001221/0.001221, allocations: 181.3 kB / 487 MB, free: 5.34 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.45/1.45, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0009951/0.000995, allocations: 94.34 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.336e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3241, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.471, allocations: 436 MB / 1.631 GB, free: 3.902 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.472, allocations: 89.75 kB / 1.631 GB, free: 3.855 MB / 1.057 GB Notification: Performance of FrontEnd: time 4.068/5.539, allocations: 1.067 GB / 2.698 GB, free: 152.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003678/5.54, allocations: 84.81 kB / 2.698 GB, free: 152.9 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009156/5.549, allocations: 3.208 MB / 2.701 GB, free: 151.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/5.549, allocations: 9.75 kB / 2.701 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/5.56, allocations: 1.403 MB / 2.703 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/5.57, allocations: 3.357 MB / 2.706 GB, free: 151 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/5.571, allocations: 168.4 kB / 2.706 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009748/5.572, allocations: 139.2 kB / 2.706 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005097/5.577, allocations: 2.036 MB / 2.708 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004616/5.581, allocations: 2.502 MB / 2.711 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/5.582, allocations: 4.5 kB / 2.711 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/5.582, allocations: 7.156 kB / 2.711 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-05/5.582, allocations: 72.8 kB / 2.711 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.021/5.603, allocations: 13.95 MB / 2.724 GB, free: 144 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/5.605, allocations: 1.126 MB / 2.725 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/5.605, allocations: 0.6299 MB / 2.726 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/5.607, allocations: 1.775 MB / 2.728 GB, free: 141.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/5.608, allocations: 0.9498 MB / 2.729 GB, free: 141.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.045e-06/5.608, allocations: 0 / 2.729 GB, free: 141.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.005948/5.614, allocations: 1.68 MB / 2.73 GB, free: 141.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002407/5.614, allocations: 0.938 MB / 2.731 GB, free: 140.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/5.618, allocations: 1.855 MB / 2.733 GB, free: 140 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004161/5.618, allocations: 32.92 kB / 2.733 GB, free: 140 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009067/5.619, allocations: 0.9846 MB / 2.734 GB, free: 139.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/5.62, allocations: 412.6 kB / 2.734 GB, free: 139.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/5.62, allocations: 3.031 kB / 2.734 GB, free: 139.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/5.62, allocations: 373.2 kB / 2.735 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/5.621, allocations: 0.6251 MB / 2.735 GB, free: 138.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/5.622, allocations: 1.219 MB / 2.737 GB, free: 138.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/5.625, allocations: 0.8386 MB / 2.737 GB, free: 138.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/5.625, allocations: 7.406 kB / 2.737 GB, free: 138.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01331/5.638, allocations: 2.792 MB / 2.74 GB, free: 138 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/5.639, allocations: 4.914 MB / 2.745 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/5.639, allocations: 11.34 kB / 2.745 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/5.641, allocations: 0.7056 MB / 2.746 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/5.644, allocations: 0.5015 MB / 2.746 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/5.646, allocations: 1.922 MB / 2.748 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/5.652, allocations: 486.4 kB / 2.748 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/5.652, allocations: 105.6 kB / 2.749 GB, free: 131.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/5.652, allocations: 3.938 kB / 2.749 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/5.665, allocations: 2.501 MB / 2.751 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/5.665, allocations: 12.91 kB / 2.751 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/5.667, allocations: 0.7056 MB / 2.752 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/5.67, allocations: 495.2 kB / 2.752 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/5.672, allocations: 1.929 MB / 2.754 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/5.677, allocations: 386.4 kB / 2.754 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/5.678, allocations: 108.6 kB / 2.755 GB, free: 130.4 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006597/5.679, allocations: 166 kB / 2.755 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007445/5.679, allocations: 240.8 kB / 2.755 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/5.692, allocations: 2.329 MB / 2.757 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/5.692, allocations: 14.34 kB / 2.757 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/5.692, allocations: 6.531 kB / 2.757 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01136/5.703, allocations: 2.122 MB / 2.759 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/5.721, allocations: 6.739 MB / 2.766 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/5.721, allocations: 6.062 kB / 2.766 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/5.723, allocations: 298.8 kB / 2.766 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/5.725, allocations: 0.6981 MB / 2.767 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/5.725, allocations: 33.62 kB / 2.767 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/5.727, allocations: 1.915 MB / 2.769 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/5.727, allocations: 14.16 kB / 2.769 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005649/5.733, allocations: 3.268 MB / 2.772 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/5.735, allocations: 0.6308 MB / 2.773 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006241/5.735, allocations: 17.48 kB / 2.773 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003663/5.739, allocations: 279.5 kB / 2.773 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/5.739, allocations: 109.7 kB / 2.773 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/5.74, allocations: 75.91 kB / 2.773 GB, free: 125.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002329/5.742, allocations: 1.388 MB / 2.774 GB, free: 125.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00682/5.749, allocations: 1.83 MB / 2.776 GB, free: 124.8 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002917/5.752, allocations: 1.514 MB / 2.778 GB, free: 124.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00466/5.756, allocations: 2.602 MB / 2.78 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/5.756, allocations: 3.906 kB / 2.78 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/5.758, allocations: 0.7732 MB / 2.781 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/5.764, allocations: 1.041 MB / 2.782 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/5.774, allocations: 3.917 MB / 2.786 GB, free: 123.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/5.776, allocations: 2.038 MB / 2.788 GB, free: 122.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.654e-06/5.776, allocations: 2.906 kB / 2.788 GB, free: 122.4 MB / 1.167 GB Notification: Performance of Templates: time 0.1369/5.913, allocations: 76.44 MB / 2.862 GB, free: 118 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches