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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001143/0.001143, allocations: 180.7 kB / 487.4 MB, free: 5.043 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.511/1.511, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0009643/0.0009642, allocations: 94.12 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.299e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9876/1.31, allocations: 163.6 MB / 1.366 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.31, allocations: 113.6 kB / 1.366 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09755/1.408, allocations: 25.18 MB / 1.39 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.408, allocations: 0 / 1.39 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001932/1.408, allocations: 19.41 kB / 1.39 GB, free: 26.25 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.004151/1.412, allocations: 1.344 MB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.412, allocations: 11.84 kB / 1.392 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007438/1.413, allocations: 162.5 kB / 1.392 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.415, allocations: 0.6464 MB / 1.393 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/1.415, allocations: 3.844 kB / 1.393 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.415, allocations: 23.03 kB / 1.393 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003594/1.415, allocations: 425.4 kB / 1.393 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/1.416, allocations: 385.5 kB / 1.393 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.416, allocations: 0 / 1.393 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.416, allocations: 4 kB / 1.393 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.416, allocations: 3.953 kB / 1.393 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.417, allocations: 0.9341 MB / 1.394 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/1.417, allocations: 0.5519 MB / 1.395 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/1.418, allocations: 338.2 kB / 1.395 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/1.418, allocations: 1.029 MB / 1.396 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/1.419, allocations: 391.8 kB / 1.396 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.395e-06/1.419, allocations: 7.938 kB / 1.397 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0009294/1.42, allocations: 1.018 MB / 1.397 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.42, allocations: 84.81 kB / 1.398 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/1.422, allocations: 1.523 MB / 1.399 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/1.422, allocations: 29.55 kB / 1.399 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/1.422, allocations: 485.2 kB / 1.4 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/1.422, allocations: 15.5 kB / 1.4 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/1.422, allocations: 3.844 kB / 1.4 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.423, allocations: 418.2 kB / 1.4 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.424, allocations: 1.44 MB / 1.401 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.425, allocations: 1.583 MB / 1.403 GB, free: 20.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/1.427, allocations: 1.846 MB / 1.405 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.427, allocations: 0 / 1.405 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004534/1.431, allocations: 3.964 MB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.432, allocations: 8 kB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-05/1.432, allocations: 20.03 kB / 1.409 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/1.432, allocations: 8 kB / 1.409 GB, free: 16.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/1.432, allocations: 143.1 kB / 1.409 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.432, allocations: 7.938 kB / 1.409 GB, free: 16.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.433, allocations: 232.3 kB / 1.409 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/1.434, allocations: 90.42 kB / 1.409 GB, free: 15.84 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.0001786/1.434, allocations: 120.7 kB / 1.409 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/1.434, allocations: 118 kB / 1.409 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/1.435, allocations: 1.001 MB / 1.41 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/1.435, allocations: 4 kB / 1.41 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.435, allocations: 0 / 1.41 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.435, allocations: 3.984 kB / 1.41 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.436, allocations: 0.6519 MB / 1.411 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.436, allocations: 4 kB / 1.411 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/1.436, allocations: 4 kB / 1.411 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.436, allocations: 3.938 kB / 1.411 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.436, allocations: 8.016 kB / 1.411 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.436, allocations: 4 kB / 1.411 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.436, allocations: 0 / 1.411 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.437, allocations: 1.059 MB / 1.412 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/1.438, allocations: 215.1 kB / 1.412 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/1.438, allocations: 3.938 kB / 1.412 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/1.438, allocations: 11.98 kB / 1.412 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/1.438, allocations: 4 kB / 1.412 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/1.438, allocations: 15.97 kB / 1.412 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001416/1.44, allocations: 1.005 MB / 1.413 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.62e-07/1.44, allocations: 0 / 1.413 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001964/1.442, allocations: 0.5029 MB / 1.414 GB, free: 11.36 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.002598/1.445, allocations: 0.5694 MB / 1.414 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002458/1.447, allocations: 2.479 MB / 1.417 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.447, allocations: 0 / 1.417 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/1.447, allocations: 334.2 kB / 1.417 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/1.448, allocations: 61.38 kB / 1.417 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/1.451, allocations: 2.082 MB / 1.419 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/1.452, allocations: 1.187 MB / 1.42 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00055/1.453, allocations: 126.7 kB / 1.42 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/1.453, allocations: 65.64 kB / 1.42 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of SimCode: time 1.242e-06/1.453, allocations: 0 / 1.42 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of Templates: time 0.02595/1.479, allocations: 10.99 MB / 1.431 GB, free: 10.38 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches