Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [: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.086/2.086, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001355/0.001355, allocations: 181.2 kB / 487 MB, free: 5.32 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.448/1.448, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.001079/0.001079, allocations: 97.61 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.588e-06, allocations: 4 kB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2943, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8348/1.129, allocations: 163.5 MB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.129, allocations: 104.4 kB / 1.365 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.07729/1.207, allocations: 21.77 MB / 1.386 GB, free: 8.434 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.148e-05/1.207, allocations: 18.88 kB / 1.386 GB, free: 8.418 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002455/1.209, allocations: 1.002 MB / 1.387 GB, free: 7.422 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.209, allocations: 8.031 kB / 1.387 GB, free: 7.414 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/1.21, allocations: 102.7 kB / 1.387 GB, free: 7.312 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/1.211, allocations: 427.3 kB / 1.388 GB, free: 6.844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.211, allocations: 4 kB / 1.388 GB, free: 6.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/1.211, allocations: 20 kB / 1.388 GB, free: 6.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003873/1.211, allocations: 423 kB / 1.388 GB, free: 6.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/1.211, allocations: 397.8 kB / 1.389 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/1.211, allocations: 0 / 1.389 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.211, allocations: 0 / 1.389 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/1.211, allocations: 4 kB / 1.389 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/1.212, allocations: 0.686 MB / 1.389 GB, free: 5.398 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/1.213, allocations: 0.5588 MB / 1.39 GB, free: 4.828 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/1.213, allocations: 340.4 kB / 1.39 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.214, allocations: 1.036 MB / 1.391 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/1.214, allocations: 396.5 kB / 1.392 GB, free: 2.844 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/1.214, allocations: 0 / 1.392 GB, free: 2.844 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0007796/1.215, allocations: 0.7468 MB / 1.392 GB, free: 2.098 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.215, allocations: 84.48 kB / 1.392 GB, free: 2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.216, allocations: 1.017 MB / 1.393 GB, free: 1.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.217, allocations: 25.7 kB / 1.393 GB, free: 1.148 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/1.217, allocations: 265.4 kB / 1.394 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/1.217, allocations: 22.81 kB / 1.394 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/1.217, allocations: 0 / 1.394 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.217, allocations: 417.4 kB / 1.394 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/1.218, allocations: 1.217 MB / 1.395 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.219, allocations: 1.346 MB / 1.397 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/1.221, allocations: 1.608 MB / 1.398 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.221, allocations: 7.938 kB / 1.398 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007048/1.228, allocations: 7.133 MB / 1.405 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.228, allocations: 4 kB / 1.405 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/1.228, allocations: 4 kB / 1.405 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/1.228, allocations: 4 kB / 1.405 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/1.229, allocations: 147 kB / 1.405 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/1.229, allocations: 4 kB / 1.405 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008941/1.23, allocations: 228.3 kB / 1.405 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.23, allocations: 55.42 kB / 1.405 GB, free: 6.914 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002299/1.23, allocations: 120.8 kB / 1.406 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/1.23, allocations: 66.77 kB / 1.406 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/1.232, allocations: 0.7116 MB / 1.406 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.232, allocations: 3.906 kB / 1.406 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.232, allocations: 4 kB / 1.406 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.232, allocations: 0 / 1.406 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/1.232, allocations: 475.4 kB / 1.407 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.232, allocations: 4.031 kB / 1.407 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/1.232, allocations: 7.938 kB / 1.407 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.232, allocations: 0 / 1.407 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/1.232, allocations: 7.984 kB / 1.407 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.232, allocations: 3.906 kB / 1.407 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.232, allocations: 0 / 1.407 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007275/1.233, allocations: 0.7829 MB / 1.408 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/1.233, allocations: 147.9 kB / 1.408 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/1.233, allocations: 11.94 kB / 1.408 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/1.234, allocations: 11.89 kB / 1.408 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/1.234, allocations: 4 kB / 1.408 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/1.234, allocations: 11.97 kB / 1.408 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007468/1.234, allocations: 0.6134 MB / 1.408 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00181/1.236, allocations: 481 kB / 1.409 GB, free: 3.609 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002592/1.239, allocations: 0.5981 MB / 1.409 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002184/1.241, allocations: 2.354 MB / 1.412 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.241, allocations: 0 / 1.412 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/1.241, allocations: 337.2 kB / 1.412 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/1.242, allocations: 38.66 kB / 1.412 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/1.244, allocations: 1.459 MB / 1.414 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/1.244, allocations: 1.033 MB / 1.415 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/1.244, allocations: 4 kB / 1.415 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.02058/1.265, allocations: 9.497 MB / 1.424 GB, free: 5.113 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches