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.001281/0.001281, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001918/0.001918, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.332/2.332, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.91 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6282, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002207/0.6304, allocations: 1.477 MB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.6342, allocations: 3.032 MB / 0.9535 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.6343, allocations: 5.656 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.6344, allocations: 7.922 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.6346, allocations: 31.62 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.6369, allocations: 0.8887 MB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.637, allocations: 80.28 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.6371, allocations: 3.281 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.6371, allocations: 40.66 kB / 0.9546 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.6374, allocations: 224.8 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.6375, allocations: 17.78 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.6394, allocations: 1.415 MB / 0.9562 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.6401, allocations: 0.6853 MB / 0.9569 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.6405, allocations: 444.8 kB / 0.9573 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.6425, allocations: 1.787 MB / 0.959 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6426, allocations: 3.984 kB / 0.959 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6426, allocations: 0 / 0.959 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.6426, allocations: 0 / 0.959 GB, free: 2.438 MB / 0.7169 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.009521/0.6521, allocations: 1.686 MB / 0.9607 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6522, allocations: 9.219 kB / 0.9607 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.6526, allocations: 147.8 kB / 0.9608 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.653, allocations: 0.5243 MB / 0.9613 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6531, allocations: 6.969 kB / 0.9613 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.6531, allocations: 9.062 kB / 0.9613 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.6535, allocations: 394.1 kB / 0.9617 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.6536, allocations: 5.156 kB / 0.9617 GB, free: 448 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6536, allocations: 0 / 0.9617 GB, free: 448 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6536, allocations: 1.094 kB / 0.9617 GB, free: 448 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.654, allocations: 431.4 kB / 0.9621 GB, free: 380 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.6548, allocations: 0.8058 MB / 0.9629 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.6554, allocations: 0.5619 MB / 0.9635 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.6557, allocations: 337 kB / 0.9638 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.6568, allocations: 1.024 MB / 0.9648 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.6572, allocations: 414.9 kB / 0.9652 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 3.517e-06/0.6572, allocations: 7.922 kB / 0.9652 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001583/0.6588, allocations: 1.342 MB / 0.9665 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.6589, allocations: 83.8 kB / 0.9666 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.6609, allocations: 1.847 MB / 0.9684 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.661, allocations: 35.12 kB / 0.9684 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.6613, allocations: 470.9 kB / 0.9689 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.6614, allocations: 19.55 kB / 0.9689 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.6617, allocations: 357 kB / 0.9692 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.6618, allocations: 301.1 kB / 0.9695 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.6632, allocations: 1.522 MB / 0.971 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.6646, allocations: 1.642 MB / 0.9726 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/0.6719, allocations: 3.69 MB / 0.9762 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6719, allocations: 0 / 0.9762 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004667/0.6766, allocations: 4.323 MB / 0.9804 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6766, allocations: 4 kB / 0.9804 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.6766, allocations: 0 / 0.9804 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6767, allocations: 4 kB / 0.9804 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6768, allocations: 19.98 kB / 0.9805 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.6768, allocations: 0 / 0.9805 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.6776, allocations: 232.3 kB / 0.9807 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.6777, allocations: 28.02 kB / 0.9807 GB, free: 1 MB / 0.7325 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.0005874/0.6783, allocations: 365.5 kB / 0.9811 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6784, allocations: 122 kB / 0.9812 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.6788, allocations: 145.1 kB / 0.9813 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6788, allocations: 0 / 0.9813 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6788, allocations: 4 kB / 0.9813 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6788, allocations: 4.031 kB / 0.9813 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.6795, allocations: 0.6795 MB / 0.982 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6795, allocations: 0 / 0.982 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.6796, allocations: 11.92 kB / 0.982 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.6796, allocations: 0 / 0.982 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.6796, allocations: 7.938 kB / 0.982 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6796, allocations: 3.984 kB / 0.982 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6796, allocations: 0 / 0.982 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.6806, allocations: 1.051 MB / 0.983 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.6808, allocations: 203 kB / 0.9832 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.6809, allocations: 7.984 kB / 0.9832 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.6811, allocations: 8 kB / 0.9832 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.6811, allocations: 7.984 kB / 0.9833 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.6812, allocations: 11.98 kB / 0.9833 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001188/0.6823, allocations: 1.104 MB / 0.9843 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6824, allocations: 3.938 kB / 0.9843 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001232/0.6836, allocations: 435.9 kB / 0.9848 GB, free: 12.7 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.6848, allocations: 483.3 kB / 0.9852 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.6872, allocations: 2.648 MB / 0.9878 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6872, allocations: 0 / 0.9878 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.6875, allocations: 343.7 kB / 0.9881 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.688, allocations: 52.06 kB / 0.9882 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.6912, allocations: 2.861 MB / 0.991 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.6919, allocations: 1.153 MB / 0.9921 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.6921, allocations: 32.56 kB / 0.9921 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6922, allocations: 27.41 kB / 0.9922 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.6922, allocations: 4 kB / 0.9922 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of Templates: time 0.0189/0.7111, allocations: 10.1 MB / 1.002 GB, free: 10.97 MB / 0.7637 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/jenkins/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