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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.00115/0.001149, allocations: 168.9 kB / 492.3 MB, free: 0.6172 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.553/1.553, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.000939/0.0009389, allocations: 89.8 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.39e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2915, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.463, allocations: 164.2 MB / 1.373 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.464, allocations: 108.3 kB / 1.373 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0749/1.539, allocations: 22.02 MB / 1.394 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.714e-06/1.539, allocations: 0 / 1.394 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.009e-05/1.539, allocations: 15.38 kB / 1.394 GB, free: 27.15 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.001931/1.541, allocations: 1.008 MB / 1.395 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.541, allocations: 7.688 kB / 1.395 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/1.541, allocations: 101.1 kB / 1.396 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/1.542, allocations: 423.9 kB / 1.396 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/1.542, allocations: 22.53 kB / 1.396 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/1.542, allocations: 35.91 kB / 1.396 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/1.542, allocations: 392.4 kB / 1.396 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/1.542, allocations: 0 / 1.396 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.542, allocations: 0 / 1.396 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.542, allocations: 0 / 1.396 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/1.542, allocations: 426.8 kB / 1.397 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/1.543, allocations: 0.7466 MB / 1.397 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/1.543, allocations: 0.5584 MB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/1.543, allocations: 329.1 kB / 1.398 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/1.544, allocations: 1.036 MB / 1.399 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/1.545, allocations: 399.5 kB / 1.4 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/1.545, allocations: 3.938 kB / 1.4 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0007513/1.545, allocations: 0.9662 MB / 1.401 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.545, allocations: 88.84 kB / 1.401 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/1.546, allocations: 1.056 MB / 1.402 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/1.546, allocations: 42.58 kB / 1.402 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/1.546, allocations: 274.8 kB / 1.402 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/1.546, allocations: 23.42 kB / 1.402 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/1.546, allocations: 17.88 kB / 1.402 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.547, allocations: 409.4 kB / 1.403 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009748/1.548, allocations: 1.207 MB / 1.404 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.549, allocations: 1.347 MB / 1.405 GB, free: 18.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.55, allocations: 1.598 MB / 1.407 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.55, allocations: 0 / 1.407 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003538/1.553, allocations: 3.425 MB / 1.41 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.553, allocations: 4 kB / 1.41 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.553, allocations: 4 kB / 1.41 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.553, allocations: 4 kB / 1.41 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/1.554, allocations: 146.8 kB / 1.41 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.554, allocations: 4 kB / 1.41 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/1.555, allocations: 238.1 kB / 1.41 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/1.555, allocations: 62.06 kB / 1.41 GB, free: 14.3 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.0001434/1.555, allocations: 135 kB / 1.411 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/1.555, allocations: 66.78 kB / 1.411 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/1.556, allocations: 0.9302 MB / 1.411 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/1.556, allocations: 0 / 1.411 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.556, allocations: 0 / 1.411 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.556, allocations: 0 / 1.411 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/1.557, allocations: 0.4948 MB / 1.412 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.557, allocations: 0 / 1.412 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/1.557, allocations: 11.53 kB / 1.412 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.557, allocations: 7.922 kB / 1.412 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/1.557, allocations: 11.98 kB / 1.412 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.557, allocations: 0 / 1.412 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.557, allocations: 0 / 1.412 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/1.558, allocations: 0.9977 MB / 1.413 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.558, allocations: 159.6 kB / 1.413 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/1.558, allocations: 4 kB / 1.413 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.558, allocations: 7.984 kB / 1.413 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.558, allocations: 4 kB / 1.413 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/1.558, allocations: 11.97 kB / 1.413 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006933/1.559, allocations: 0.65 MB / 1.414 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-07/1.559, allocations: 0 / 1.414 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001715/1.56, allocations: 495.9 kB / 1.414 GB, free: 10.49 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.001468/1.562, allocations: 0.5666 MB / 1.415 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002074/1.564, allocations: 2.345 MB / 1.417 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.564, allocations: 0 / 1.417 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/1.564, allocations: 337.5 kB / 1.417 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/1.565, allocations: 33.55 kB / 1.417 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/1.566, allocations: 1.427 MB / 1.419 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.567, allocations: 0.9774 MB / 1.42 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001955/1.567, allocations: 63.36 kB / 1.42 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/1.567, allocations: 34.42 kB / 1.42 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.567, allocations: 7.938 kB / 1.42 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of Templates: time 0.01746/1.585, allocations: 9.295 MB / 1.429 GB, free: 12.29 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches