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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 107.5 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.91 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7551, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002124/0.7573, allocations: 1.416 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.7612, allocations: 3.023 MB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.7613, allocations: 4.75 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.877e-05/0.7614, allocations: 11.66 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.7616, allocations: 36.11 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.7641, allocations: 0.9834 MB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.7643, allocations: 88.3 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.7643, allocations: 8.031 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.7644, allocations: 38.5 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.7647, allocations: 157.5 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.7647, allocations: 17.38 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.7671, allocations: 1.388 MB / 1.096 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007824/0.7679, allocations: 0.6896 MB / 1.096 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.7682, allocations: 437.3 kB / 1.097 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.7705, allocations: 1.791 MB / 1.099 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7705, allocations: 0.9375 kB / 1.099 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7705, allocations: 0 / 1.099 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.7706, allocations: 3.938 kB / 1.099 GB, free: 0.5078 MB / 0.8575 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.01087/0.7814, allocations: 1.685 MB / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7815, allocations: 8.125 kB / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/0.782, allocations: 145.2 kB / 1.1 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.7827, allocations: 0.5246 MB / 1.101 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7827, allocations: 7.453 kB / 1.101 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.7827, allocations: 5.641 kB / 1.101 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.7834, allocations: 397.2 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.7835, allocations: 4.594 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.7835, allocations: 1.25 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.7835, allocations: 1.094 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.784, allocations: 432.7 kB / 1.102 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.7849, allocations: 0.8059 MB / 1.102 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.7855, allocations: 0.5699 MB / 1.103 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.7858, allocations: 333.7 kB / 1.103 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.7869, allocations: 1.023 MB / 1.104 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.7873, allocations: 411.5 kB / 1.105 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.7873, allocations: 0 / 1.105 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001634/0.7889, allocations: 1.345 MB / 1.106 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.789, allocations: 85.55 kB / 1.106 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.7913, allocations: 1.842 MB / 1.108 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.7913, allocations: 31.62 kB / 1.108 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.7917, allocations: 473.2 kB / 1.108 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.7918, allocations: 16.38 kB / 1.108 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.7921, allocations: 355.9 kB / 1.109 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.7922, allocations: 303.3 kB / 1.109 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.7937, allocations: 1.519 MB / 1.11 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.7952, allocations: 1.642 MB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/0.8026, allocations: 3.695 MB / 1.116 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8026, allocations: 1.188 kB / 1.116 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005129/0.8077, allocations: 4.32 MB / 1.12 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.8078, allocations: 9.281 kB / 1.12 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.8078, allocations: 2.234 kB / 1.12 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8078, allocations: 6.172 kB / 1.12 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.808, allocations: 18.42 kB / 1.12 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.808, allocations: 1.062 kB / 1.12 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.8088, allocations: 227.9 kB / 1.12 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.8088, allocations: 27.16 kB / 1.12 GB, free: 6.277 MB / 0.8731 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006213/0.8095, allocations: 361.7 kB / 1.121 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.8096, allocations: 123.8 kB / 1.121 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.8099, allocations: 146.8 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8099, allocations: 1.984 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8099, allocations: 1.375 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.8101, allocations: 197.7 kB / 1.121 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8103, allocations: 3.078 kB / 1.121 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.8105, allocations: 8.109 kB / 1.121 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.8105, allocations: 5.844 kB / 1.121 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001079/0.8116, allocations: 1.066 MB / 1.122 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001082/0.8127, allocations: 1.271 MB / 1.123 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003298/0.813, allocations: 340.3 kB / 1.124 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001474/0.8145, allocations: 1.102 MB / 1.125 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of Backend: time 5.71e-07/0.8145, allocations: 4 kB / 1.125 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00451/0.819, allocations: 2.785 MB / 1.127 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of SimCode: time 0.003217/0.8223, allocations: 2.548 MB / 1.13 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of Templates: time 0.02115/0.8434, allocations: 10.48 MB / 1.14 GB, free: 0.9883 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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