Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 86.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.907e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1854, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6651/0.8506, allocations: 151 MB / 1.039 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.8509, allocations: 120.8 kB / 1.039 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1039/0.9548, allocations: 29.68 MB / 1.068 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9549, allocations: 0 / 1.068 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.533e-05/0.955, allocations: 16 kB / 1.068 GB, free: 6.188 MB / 0.6823 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.002515/0.9575, allocations: 1.054 MB / 1.069 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.9575, allocations: 8.031 kB / 1.069 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.958, allocations: 110.5 kB / 1.07 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/0.959, allocations: 463.4 kB / 1.07 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.959, allocations: 22.12 kB / 1.07 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.9591, allocations: 38.73 kB / 1.07 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.9595, allocations: 378 kB / 1.07 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.9595, allocations: 3.938 kB / 1.07 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.9596, allocations: 4 kB / 1.07 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.9596, allocations: 3.984 kB / 1.07 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.96, allocations: 430.8 kB / 1.071 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.9609, allocations: 0.7625 MB / 1.072 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.9614, allocations: 0.5666 MB / 1.072 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.9617, allocations: 329.2 kB / 1.072 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.9628, allocations: 1.035 MB / 1.073 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/0.9632, allocations: 403 kB / 1.074 GB, free: 472 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.9632, allocations: 0 / 1.074 GB, free: 472 kB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.00107/0.9643, allocations: 0.9777 MB / 1.075 GB, free: 15.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.9644, allocations: 81.11 kB / 1.075 GB, free: 15.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.9657, allocations: 1.12 MB / 1.076 GB, free: 14.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/0.9658, allocations: 39.52 kB / 1.076 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.9661, allocations: 296.3 kB / 1.076 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.9661, allocations: 27.58 kB / 1.076 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.9662, allocations: 18.31 kB / 1.076 GB, free: 14.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.9664, allocations: 426.3 kB / 1.077 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.9677, allocations: 1.199 MB / 1.078 GB, free: 13.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.969, allocations: 1.348 MB / 1.079 GB, free: 12.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.9706, allocations: 1.601 MB / 1.081 GB, free: 10.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9706, allocations: 0 / 1.081 GB, free: 10.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003937/0.9745, allocations: 3.431 MB / 1.084 GB, free: 8.352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.9746, allocations: 4 kB / 1.084 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.9746, allocations: 0 / 1.084 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.9746, allocations: 4 kB / 1.084 GB, free: 8.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.9753, allocations: 150.7 kB / 1.084 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.9754, allocations: 4 kB / 1.084 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/0.976, allocations: 234.9 kB / 1.085 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.9762, allocations: 58.61 kB / 1.085 GB, free: 7.926 MB / 0.698 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.0001545/0.9763, allocations: 132.5 kB / 1.085 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.9764, allocations: 78.58 kB / 1.085 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.9774, allocations: 0.9392 MB / 1.086 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9775, allocations: 0 / 1.086 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.9775, allocations: 0 / 1.086 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.9775, allocations: 0 / 1.086 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.978, allocations: 0.5156 MB / 1.086 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.978, allocations: 0 / 1.086 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.9781, allocations: 15.95 kB / 1.086 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.9781, allocations: 4 kB / 1.086 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.9781, allocations: 3.812 kB / 1.086 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9781, allocations: 80 / 1.086 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.9781, allocations: 7.984 kB / 1.086 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.979, allocations: 1.01 MB / 1.087 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.9791, allocations: 167.2 kB / 1.087 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.9792, allocations: 7.984 kB / 1.087 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.9794, allocations: 0 / 1.087 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.9794, allocations: 7.984 kB / 1.087 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.9795, allocations: 11.98 kB / 1.087 GB, free: 5.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007613/0.9802, allocations: 0.7009 MB / 1.088 GB, free: 4.496 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9802, allocations: 4 kB / 1.088 GB, free: 4.492 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001685/0.9819, allocations: 0.494 MB / 1.089 GB, free: 4.027 MB / 0.698 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.001555/0.9835, allocations: 0.6598 MB / 1.089 GB, free: 3.363 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.9856, allocations: 2.345 MB / 1.092 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9856, allocations: 0 / 1.092 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.9859, allocations: 339.4 kB / 1.092 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.9862, allocations: 52.8 kB / 1.092 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.9881, allocations: 1.477 MB / 1.093 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.9887, allocations: 1.005 MB / 1.094 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.9889, allocations: 62.91 kB / 1.094 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.9891, allocations: 38.66 kB / 1.094 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9891, allocations: 0 / 1.094 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.02003/1.009, allocations: 11.24 MB / 1.105 GB, free: 3.676 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches