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.334/2.334, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001645/0.001645, allocations: 180.2 kB / 498.1 MB, free: 5.684 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.703/1.703, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009649, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003324, allocations: 10.97 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.5423, allocations: 168.8 MB / 1.388 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.5427, allocations: 127.8 kB / 1.388 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1037/0.6464, allocations: 30.16 MB / 1.417 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6464, allocations: 0 / 1.417 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.06e-05/0.6465, allocations: 16 kB / 1.417 GB, free: 10.8 MB / 0.9167 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.002629/0.6491, allocations: 1.199 MB / 1.419 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6492, allocations: 8.031 kB / 1.419 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.6496, allocations: 106.7 kB / 1.419 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/0.6505, allocations: 476.6 kB / 1.419 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.6505, allocations: 24 kB / 1.419 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.6506, allocations: 32 kB / 1.419 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.6511, allocations: 395.2 kB / 1.42 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6511, allocations: 0 / 1.42 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6511, allocations: 0 / 1.42 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6511, allocations: 11.95 kB / 1.42 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.6516, allocations: 435.7 kB / 1.42 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.6525, allocations: 0.7666 MB / 1.421 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.653, allocations: 0.5594 MB / 1.421 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000957/0.654, allocations: 1.037 MB / 1.422 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.6544, allocations: 400.9 kB / 1.423 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/0.6544, allocations: 3.984 kB / 1.423 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.001332/0.6557, allocations: 1.304 MB / 1.424 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.6558, allocations: 85.06 kB / 1.424 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.6571, allocations: 1.134 MB / 1.425 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.6572, allocations: 41.7 kB / 1.425 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6574, allocations: 302.1 kB / 1.425 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.6575, allocations: 19.75 kB / 1.425 GB, free: 2.039 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.6575, allocations: 12 kB / 1.425 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.6577, allocations: 431.8 kB / 1.426 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.6591, allocations: 1.214 MB / 1.427 GB, free: 392 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.551/1.21, allocations: 1.36 MB / 1.428 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.212, allocations: 1.614 MB / 1.43 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.212, allocations: 0 / 1.43 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004553/1.216, allocations: 3.45 MB / 1.433 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.216, allocations: 6.562 kB / 1.433 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.216, allocations: 5.75 kB / 1.433 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.216, allocations: 3.641 kB / 1.433 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/1.217, allocations: 142.6 kB / 1.433 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.217, allocations: 3.375 kB / 1.433 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/1.218, allocations: 245.2 kB / 1.434 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.218, allocations: 56.11 kB / 1.434 GB, free: 184.7 MB / 0.9167 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 () * Number of clocked 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.0003601/1.218, allocations: 264 kB / 1.434 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/1.218, allocations: 76.28 kB / 1.434 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/1.22, allocations: 0.9525 MB / 1.435 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/1.22, allocations: 1.094 kB / 1.435 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.22, allocations: 3.312 kB / 1.435 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.22, allocations: 2.156 kB / 1.435 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/1.22, allocations: 0.511 MB / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.22, allocations: 0 / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/1.22, allocations: 8.172 kB / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.22, allocations: 4.609 kB / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.22, allocations: 10.59 kB / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.22, allocations: 1.484 kB / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.22, allocations: 4.688 kB / 1.436 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.222, allocations: 1.021 MB / 1.437 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.222, allocations: 158.4 kB / 1.437 GB, free: 184 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/1.222, allocations: 6.609 kB / 1.437 GB, free: 184 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.222, allocations: 5.406 kB / 1.437 GB, free: 184 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/1.222, allocations: 9.438 kB / 1.437 GB, free: 184 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/1.222, allocations: 12.31 kB / 1.437 GB, free: 184 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001015/1.223, allocations: 0.7141 MB / 1.437 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/1.223, allocations: 0 / 1.437 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001903/1.225, allocations: 0.4934 MB / 1.438 GB, free: 183.9 MB / 0.9167 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) * Number of clocked states: 0 () * 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.001713/1.227, allocations: 0.6463 MB / 1.439 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.23, allocations: 2.366 MB / 1.441 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.23, allocations: 0 / 1.441 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/1.23, allocations: 341.5 kB / 1.441 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/1.23, allocations: 60.03 kB / 1.441 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/1.233, allocations: 1.974 MB / 1.443 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/1.234, allocations: 1.002 MB / 1.444 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002567/1.234, allocations: 61.34 kB / 1.444 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/1.234, allocations: 41.64 kB / 1.444 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.392e-06/1.234, allocations: 0 / 1.444 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.02254/1.257, allocations: 10.95 MB / 1.455 GB, free: 181.8 MB / 0.9167 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