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.437/2.437, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001201/0.001201, allocations: 173.2 kB / 498.1 MB, free: 5.75 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.53/1.53, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001068/0.001068, allocations: 102.4 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004868, allocations: 16.02 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3211, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.5297, allocations: 164.3 MB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5301, allocations: 127.8 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07696/0.6071, allocations: 22.07 MB / 1.405 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6071, allocations: 0 / 1.405 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.6072, allocations: 16 kB / 1.405 GB, free: 7.5 MB / 0.9011 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.002272/0.6094, allocations: 1.152 MB / 1.406 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.6095, allocations: 12.03 kB / 1.406 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.6099, allocations: 94.75 kB / 1.406 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.6107, allocations: 423.6 kB / 1.407 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.6107, allocations: 24 kB / 1.407 GB, free: 5.703 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.6108, allocations: 35.94 kB / 1.407 GB, free: 5.668 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.6113, allocations: 391.2 kB / 1.407 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.6113, allocations: 0 / 1.407 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6113, allocations: 4 kB / 1.407 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6113, allocations: 7.953 kB / 1.407 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.6117, allocations: 427.8 kB / 1.408 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.6126, allocations: 0.7494 MB / 1.408 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.6131, allocations: 0.5595 MB / 1.409 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.6143, allocations: 1.033 MB / 1.41 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.6147, allocations: 404.8 kB / 1.41 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.6147, allocations: 4 kB / 1.41 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.001393/0.6161, allocations: 1.293 MB / 1.411 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.6162, allocations: 85.06 kB / 1.412 GB, free: 400 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.6174, allocations: 1.064 MB / 1.413 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.6175, allocations: 45.83 kB / 1.413 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.6177, allocations: 277.9 kB / 1.413 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.6177, allocations: 23.7 kB / 1.413 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.6178, allocations: 12 kB / 1.413 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.618, allocations: 419.8 kB / 1.413 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.6194, allocations: 1.214 MB / 1.414 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.6208, allocations: 1.358 MB / 1.416 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.6226, allocations: 1.611 MB / 1.417 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6226, allocations: 0 / 1.417 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004435/0.627, allocations: 3.451 MB / 1.421 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6271, allocations: 4 kB / 1.421 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.6271, allocations: 80 / 1.421 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.6271, allocations: 11.97 kB / 1.421 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.6278, allocations: 143.8 kB / 1.421 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.6278, allocations: 7.984 kB / 1.421 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.6284, allocations: 252.2 kB / 1.421 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.6285, allocations: 55.98 kB / 1.421 GB, free: 6.367 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.0003272/0.6288, allocations: 254.2 kB / 1.421 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.6289, allocations: 66.78 kB / 1.422 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.63, allocations: 0.9398 MB / 1.422 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.63, allocations: 0 / 1.422 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.63, allocations: 0 / 1.422 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.63, allocations: 0 / 1.422 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.6306, allocations: 0.4967 MB / 1.423 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6306, allocations: 4 kB / 1.423 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.6307, allocations: 7.984 kB / 1.423 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6307, allocations: 4.031 kB / 1.423 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.6307, allocations: 8 kB / 1.423 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.6307, allocations: 0 / 1.423 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6307, allocations: 0 / 1.423 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.6317, allocations: 1.012 MB / 1.424 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.6318, allocations: 155.8 kB / 1.424 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.6319, allocations: 4 kB / 1.424 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.6321, allocations: 7.984 kB / 1.424 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.6321, allocations: 4 kB / 1.424 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.6322, allocations: 15.97 kB / 1.424 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007277/0.6329, allocations: 0.6609 MB / 1.425 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6329, allocations: 0 / 1.425 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001791/0.6347, allocations: 491.4 kB / 1.425 GB, free: 2.137 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.001598/0.6363, allocations: 0.5723 MB / 1.426 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.5023/1.139, allocations: 2.363 MB / 1.428 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.139, allocations: 0 / 1.428 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004337/1.139, allocations: 339.5 kB / 1.428 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/1.139, allocations: 35.02 kB / 1.428 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/1.142, allocations: 1.826 MB / 1.43 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/1.143, allocations: 0.9829 MB / 1.431 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002838/1.143, allocations: 60.83 kB / 1.431 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.143, allocations: 37.25 kB / 1.431 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.142e-06/1.143, allocations: 0 / 1.431 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.02367/1.167, allocations: 9.204 MB / 1.44 GB, free: 188.8 MB / 0.9167 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