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.001468/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001704/0.001704, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.31/2.31, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002167, allocations: 63.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.659, allocations: 140.4 MB / 0.949 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00322/0.6623, allocations: 1.473 MB / 0.9504 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004706/0.667, allocations: 3.229 MB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.6671, allocations: 0 / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.6673, allocations: 9.047 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.6675, allocations: 32.06 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.6701, allocations: 0.7638 MB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.6702, allocations: 110.2 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.6703, allocations: 3.094 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.6703, allocations: 46.92 kB / 0.9545 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.6706, allocations: 221.7 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.6707, allocations: 13.75 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.6727, allocations: 1.399 MB / 0.9561 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006493/0.6734, allocations: 0.6742 MB / 0.9567 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.6738, allocations: 444.2 kB / 0.9572 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.6765, allocations: 1.786 MB / 0.9589 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6766, allocations: 0 / 0.9589 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6766, allocations: 0 / 0.9589 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.6766, allocations: 0 / 0.9589 GB, free: 2.555 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.008695/0.6853, allocations: 1.694 MB / 0.9606 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6854, allocations: 9.062 kB / 0.9606 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.6858, allocations: 143.2 kB / 0.9607 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.6864, allocations: 0.5277 MB / 0.9612 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.6864, allocations: 6.812 kB / 0.9612 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.6864, allocations: 5.938 kB / 0.9612 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.6869, allocations: 386.9 kB / 0.9616 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.6869, allocations: 7.922 kB / 0.9616 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.687, allocations: 0.9688 kB / 0.9616 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.687, allocations: 0.9062 kB / 0.9616 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.6875, allocations: 438.2 kB / 0.962 GB, free: 492 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.6884, allocations: 0.8028 MB / 0.9628 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.689, allocations: 0.5617 MB / 0.9634 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.6895, allocations: 336.7 kB / 0.9637 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.6906, allocations: 1.033 MB / 0.9647 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.6911, allocations: 409.5 kB / 0.9651 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.6912, allocations: 5.094 kB / 0.9651 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00177/0.6929, allocations: 1.342 MB / 0.9664 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.693, allocations: 83.3 kB / 0.9665 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.6951, allocations: 1.846 MB / 0.9683 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.6952, allocations: 33.11 kB / 0.9683 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.6956, allocations: 478.4 kB / 0.9688 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.6957, allocations: 15.53 kB / 0.9688 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.696, allocations: 349.4 kB / 0.9691 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.6961, allocations: 301.1 kB / 0.9694 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.6976, allocations: 1.515 MB / 0.9709 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.699, allocations: 1.642 MB / 0.9725 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/0.7061, allocations: 3.69 MB / 0.9761 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7061, allocations: 3.938 kB / 0.9761 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004624/0.7107, allocations: 4.319 MB / 0.9803 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.7108, allocations: 8.031 kB / 0.9803 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.7108, allocations: 4 kB / 0.9803 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7108, allocations: 0 / 0.9803 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.711, allocations: 19.92 kB / 0.9803 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.711, allocations: 0 / 0.9803 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.7118, allocations: 236.3 kB / 0.9806 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.7119, allocations: 23.97 kB / 0.9806 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.0005835/0.7125, allocations: 365.6 kB / 0.9809 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.7126, allocations: 126 kB / 0.9811 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.713, allocations: 149 kB / 0.9812 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.713, allocations: 0 / 0.9812 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.713, allocations: 3.938 kB / 0.9812 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7131, allocations: 0 / 0.9812 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.7138, allocations: 0.6717 MB / 0.9819 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7138, allocations: 0 / 0.9819 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.7139, allocations: 19.95 kB / 0.9819 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.7139, allocations: 0 / 0.9819 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7139, allocations: 8 kB / 0.9819 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7139, allocations: 4 kB / 0.9819 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7139, allocations: 3.984 kB / 0.9819 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.7149, allocations: 1.063 MB / 0.9829 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.7151, allocations: 199 kB / 0.9831 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.7152, allocations: 0 / 0.9831 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.7155, allocations: 7.984 kB / 0.9831 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.7155, allocations: 8 kB / 0.9831 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.7156, allocations: 15.97 kB / 0.9832 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001407/0.717, allocations: 1.101 MB / 0.9842 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.717, allocations: 0 / 0.9842 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001975/0.719, allocations: 443.8 kB / 0.9846 GB, free: 12.69 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.001487/0.7205, allocations: 472 kB / 0.9851 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.7229, allocations: 2.648 MB / 0.9877 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.723, allocations: 0 / 0.9877 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.7234, allocations: 347.7 kB / 0.988 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.7239, allocations: 54.47 kB / 0.9881 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.7277, allocations: 2.847 MB / 0.9908 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.7285, allocations: 1.153 MB / 0.992 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.7287, allocations: 29.11 kB / 0.992 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.7288, allocations: 27.41 kB / 0.992 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/0.7288, allocations: 0 / 0.992 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of Templates: time 0.01995/0.7488, allocations: 9.858 MB / 1.002 GB, free: 11.22 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