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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001044/0.001044, allocations: 176.8 kB / 487.4 MB, free: 5.047 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.528/1.528, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0008967/0.0008967, allocations: 97.44 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.848e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.302, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.354, allocations: 168.1 MB / 1.37 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.354, allocations: 115.2 kB / 1.37 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0953/1.45, allocations: 29.9 MB / 1.399 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/1.45, allocations: 0 / 1.399 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.382e-05/1.45, allocations: 11.53 kB / 1.399 GB, free: 23.59 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.002403/1.452, allocations: 1.045 MB / 1.4 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.452, allocations: 11.53 kB / 1.4 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/1.453, allocations: 101.3 kB / 1.401 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/1.453, allocations: 475.3 kB / 1.401 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/1.453, allocations: 7.031 kB / 1.401 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/1.453, allocations: 18.84 kB / 1.401 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003006/1.454, allocations: 424.6 kB / 1.401 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/1.454, allocations: 381.5 kB / 1.402 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.454, allocations: 0 / 1.402 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.454, allocations: 0 / 1.402 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.454, allocations: 3.953 kB / 1.402 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/1.455, allocations: 0.7249 MB / 1.403 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/1.455, allocations: 0.558 MB / 1.403 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/1.455, allocations: 323.3 kB / 1.403 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/1.456, allocations: 1.039 MB / 1.404 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/1.457, allocations: 397 kB / 1.405 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/1.457, allocations: 0 / 1.405 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000786/1.457, allocations: 0.9728 MB / 1.406 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.457, allocations: 84.3 kB / 1.406 GB, free: 18.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.459, allocations: 1.063 MB / 1.407 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/1.459, allocations: 25.7 kB / 1.407 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/1.459, allocations: 280.6 kB / 1.407 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/1.459, allocations: 23.52 kB / 1.407 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/1.459, allocations: 0 / 1.407 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000258/1.459, allocations: 425.8 kB / 1.408 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.46, allocations: 1.191 MB / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.461, allocations: 1.329 MB / 1.41 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/1.463, allocations: 1.589 MB / 1.412 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.463, allocations: 0 / 1.412 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004335/1.467, allocations: 3.379 MB / 1.415 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.467, allocations: 8 kB / 1.415 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/1.467, allocations: 3.984 kB / 1.415 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.467, allocations: 7.938 kB / 1.415 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/1.468, allocations: 142.2 kB / 1.415 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.468, allocations: 4 kB / 1.415 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/1.469, allocations: 232.3 kB / 1.415 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.469, allocations: 55.42 kB / 1.415 GB, free: 11.67 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.0001773/1.469, allocations: 129.3 kB / 1.415 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.469, allocations: 74.69 kB / 1.416 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.47, allocations: 0.9244 MB / 1.416 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.47, allocations: 4 kB / 1.416 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.47, allocations: 32 / 1.416 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.47, allocations: 4 kB / 1.416 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/1.471, allocations: 497.7 kB / 1.417 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.471, allocations: 0 / 1.417 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/1.471, allocations: 19.23 kB / 1.417 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.471, allocations: 0 / 1.417 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/1.471, allocations: 4 kB / 1.417 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.471, allocations: 0 / 1.417 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.471, allocations: 0 / 1.417 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/1.472, allocations: 1.01 MB / 1.418 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.472, allocations: 159.6 kB / 1.418 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/1.472, allocations: 0 / 1.418 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/1.472, allocations: 7.984 kB / 1.418 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/1.472, allocations: 4 kB / 1.418 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/1.472, allocations: 15.97 kB / 1.418 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007313/1.473, allocations: 0.6455 MB / 1.419 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.473, allocations: 0 / 1.419 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001792/1.475, allocations: 495.8 kB / 1.419 GB, free: 7.898 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.002739/1.478, allocations: 0.661 MB / 1.42 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002356/1.48, allocations: 2.323 MB / 1.422 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.48, allocations: 0 / 1.422 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/1.48, allocations: 334.5 kB / 1.422 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/1.481, allocations: 64.77 kB / 1.422 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/1.483, allocations: 1.472 MB / 1.424 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/1.484, allocations: 1.005 MB / 1.425 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002613/1.484, allocations: 67.23 kB / 1.425 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.484, allocations: 34.86 kB / 1.425 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/1.484, allocations: 0 / 1.425 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of Templates: time 0.01986/1.504, allocations: 9.975 MB / 1.435 GB, free: 8.887 MB / 0.8542 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