Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [: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.017/2.017, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001282/0.001282, allocations: 189.2 kB / 487 MB, free: 5.371 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.385/1.385, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.001067/0.001067, allocations: 92.89 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.405e-06/8.426e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2807, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7629/1.044, allocations: 150.1 MB / 1.352 GB, free: 16.24 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.044, allocations: 98.64 kB / 1.352 GB, free: 16.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005415/1.05, allocations: 1.715 MB / 1.354 GB, free: 16.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.05, allocations: 0.5625 kB / 1.354 GB, free: 16.19 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002517/1.05, allocations: 334.4 kB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.05, allocations: 9.406 kB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/1.05, allocations: 1.219 kB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.05, allocations: 165.7 kB / 1.354 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.05, allocations: 0.9375 kB / 1.354 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/1.05, allocations: 3.938 kB / 1.354 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.786e-05/1.05, allocations: 4.688 kB / 1.354 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.74e-05/1.05, allocations: 28.12 kB / 1.354 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.05, allocations: 5.516 kB / 1.354 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.05, allocations: 4.516 kB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.05, allocations: 1.562 kB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/1.051, allocations: 443.2 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/1.051, allocations: 170.8 kB / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/1.051, allocations: 81.05 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/1.051, allocations: 82.72 kB / 1.355 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.051, allocations: 107.5 kB / 1.355 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.051, allocations: 4.875 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.661e-05/1.051, allocations: 27.39 kB / 1.355 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/1.051, allocations: 51.41 kB / 1.355 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/1.051, allocations: 94.42 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/1.051, allocations: 27.44 kB / 1.355 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/1.051, allocations: 88.05 kB / 1.355 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/1.051, allocations: 2.594 kB / 1.355 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/1.051, allocations: 0 / 1.355 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.798e-05/1.051, allocations: 313.2 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-06/1.051, allocations: 0 / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/1.051, allocations: 4.938 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/1.051, allocations: 4.891 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.051, allocations: 1.031 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001271/1.051, allocations: 39.16 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.051, allocations: 4.812 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.051, allocations: 0.8438 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.051, allocations: 0.7969 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.728e-05/1.051, allocations: 0.5312 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.051, allocations: 8.656 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/1.051, allocations: 4.547 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.051, allocations: 0.75 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.687e-05/1.051, allocations: 182.9 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/1.052, allocations: 106.8 kB / 1.356 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/1.052, allocations: 109.6 kB / 1.356 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/1.052, allocations: 177.8 kB / 1.356 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/1.052, allocations: 186.6 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/1.052, allocations: 178 kB / 1.357 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/1.052, allocations: 387.1 kB / 1.357 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/1.052, allocations: 105.6 kB / 1.357 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/1.052, allocations: 102.8 kB / 1.357 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.208e-05/1.052, allocations: 185.9 kB / 1.357 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/1.052, allocations: 182.2 kB / 1.357 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-05/1.052, allocations: 182.2 kB / 1.358 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.245e-05/1.052, allocations: 176.9 kB / 1.358 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.246e-05/1.052, allocations: 309.9 kB / 1.358 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/1.052, allocations: 182.2 kB / 1.358 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/1.052, allocations: 182.5 kB / 1.358 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/1.052, allocations: 110.1 kB / 1.359 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/1.052, allocations: 178.1 kB / 1.359 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/1.052, allocations: 105.5 kB / 1.359 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.479e-05/1.052, allocations: 80.08 kB / 1.359 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003038/1.053, allocations: 23.78 kB / 1.359 GB, free: 10.51 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004644/1.053, allocations: 244 kB / 1.359 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.697e-05/1.053, allocations: 2.859 kB / 1.359 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.053, allocations: 0 / 1.359 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/1.053, allocations: 0.9844 kB / 1.359 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.054, allocations: 0.5278 MB / 1.36 GB, free: 25.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/1.057, allocations: 1.029 MB / 1.361 GB, free: 25.63 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/1.057, allocations: 0.6871 MB / 1.361 GB, free: 24.92 MB / 0.823 GB Notification: Performance of SimCode: time 1.122e-06/1.057, allocations: 0 / 1.361 GB, free: 24.92 MB / 0.823 GB Notification: Performance of Templates: time 0.003055/1.06, allocations: 0.6184 MB / 1.362 GB, free: 24.85 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cmp Variables in the result:cmp,time