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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [: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.088/2.088, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001069/0.001069, allocations: 177.3 kB / 487 MB, free: 5.379 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.443/1.443, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0009667/0.0009665, allocations: 99.5 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.695e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8241/1.115, allocations: 168 MB / 1.369 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.115, allocations: 115.3 kB / 1.369 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.1009/1.216, allocations: 29.76 MB / 1.398 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.413e-05/1.217, allocations: 16 kB / 1.399 GB, free: 13.74 MB / 0.8386 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.002649/1.219, allocations: 1.041 MB / 1.4 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.219, allocations: 11.97 kB / 1.4 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/1.22, allocations: 106.6 kB / 1.4 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/1.221, allocations: 463 kB / 1.4 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/1.221, allocations: 4 kB / 1.4 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/1.221, allocations: 24 kB / 1.4 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004016/1.221, allocations: 427.5 kB / 1.401 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/1.222, allocations: 377.1 kB / 1.401 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.222, allocations: 11.86 kB / 1.401 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.222, allocations: 3.875 kB / 1.401 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.222, allocations: 4 kB / 1.401 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/1.223, allocations: 0.7201 MB / 1.402 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/1.223, allocations: 0.5542 MB / 1.402 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/1.223, allocations: 329.5 kB / 1.402 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.225, allocations: 1.044 MB / 1.403 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/1.225, allocations: 395.4 kB / 1.404 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/1.225, allocations: 0 / 1.404 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0008888/1.226, allocations: 0.7443 MB / 1.405 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/1.226, allocations: 92.94 kB / 1.405 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.227, allocations: 1.082 MB / 1.406 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/1.227, allocations: 25.7 kB / 1.406 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/1.228, allocations: 266.1 kB / 1.406 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/1.228, allocations: 19.23 kB / 1.406 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/1.228, allocations: 0 / 1.406 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002429/1.228, allocations: 426.1 kB / 1.406 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.23, allocations: 1.215 MB / 1.408 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/1.231, allocations: 1.348 MB / 1.409 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/1.233, allocations: 1.614 MB / 1.41 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/1.233, allocations: 4 kB / 1.41 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008353/1.241, allocations: 7.136 MB / 1.417 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.241, allocations: 4 kB / 1.417 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/1.241, allocations: 4 kB / 1.417 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/1.241, allocations: 4 kB / 1.417 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/1.242, allocations: 143.4 kB / 1.418 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.242, allocations: 4 kB / 1.418 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/1.243, allocations: 228.3 kB / 1.418 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.243, allocations: 58.73 kB / 1.418 GB, free: 12.1 MB / 0.8542 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.0001974/1.243, allocations: 124.6 kB / 1.418 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/1.243, allocations: 74.67 kB / 1.418 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.245, allocations: 0.7238 MB / 1.419 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.245, allocations: 4 kB / 1.419 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.245, allocations: 4.031 kB / 1.419 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.245, allocations: 0 / 1.419 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/1.245, allocations: 496.9 kB / 1.419 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.245, allocations: 8 kB / 1.419 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/1.245, allocations: 7.984 kB / 1.419 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.245, allocations: 0 / 1.419 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.245, allocations: 7.875 kB / 1.419 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.245, allocations: 160 / 1.419 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.245, allocations: 3.938 kB / 1.419 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009421/1.246, allocations: 0.7983 MB / 1.42 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.247, allocations: 159.3 kB / 1.42 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.247, allocations: 0 / 1.42 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/1.247, allocations: 7.984 kB / 1.42 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.247, allocations: 11.89 kB / 1.42 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/1.247, allocations: 11.98 kB / 1.42 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001121/1.248, allocations: 0.6579 MB / 1.421 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002253/1.25, allocations: 493.3 kB / 1.421 GB, free: 8.703 MB / 0.8542 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.003111/1.254, allocations: 0.696 MB / 1.422 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002499/1.256, allocations: 2.351 MB / 1.424 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.256, allocations: 0 / 1.424 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/1.256, allocations: 327 kB / 1.425 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.257, allocations: 59.16 kB / 1.425 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/1.259, allocations: 1.532 MB / 1.426 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007857/1.26, allocations: 1.05 MB / 1.427 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/1.26, allocations: 3.938 kB / 1.427 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of Templates: time 0.02139/1.282, allocations: 10.55 MB / 1.438 GB, free: 9 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches