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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, 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.001124/0.001124, 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.347/2.347, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5886, allocations: 140.3 MB / 0.9491 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002992/0.5916, allocations: 1.793 MB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005335/0.597, allocations: 4.212 MB / 0.955 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.5971, allocations: 3.938 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5983, allocations: 348.8 kB / 0.9553 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.5985, allocations: 57.22 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.6011, allocations: 0.8826 MB / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.6013, allocations: 143.2 kB / 0.9564 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.6014, allocations: 13.5 kB / 0.9564 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.6015, allocations: 57.36 kB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.6018, allocations: 176.1 kB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.6018, allocations: 14.84 kB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.604, allocations: 1.413 MB / 0.958 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.6042, allocations: 271.1 kB / 0.9583 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.6045, allocations: 310.6 kB / 0.9586 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.6066, allocations: 1.552 MB / 0.9601 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6066, allocations: 0 / 0.9601 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6066, allocations: 4 kB / 0.9601 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.6067, allocations: 1.562 kB / 0.9601 GB, free: 1.664 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.009419/0.6161, allocations: 1.278 MB / 0.9613 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6161, allocations: 8.156 kB / 0.9613 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.6166, allocations: 95.55 kB / 0.9614 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.617, allocations: 397.7 kB / 0.9618 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6171, allocations: 11.45 kB / 0.9618 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.6171, allocations: 8.922 kB / 0.9618 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.6176, allocations: 387.1 kB / 0.9622 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6176, allocations: 3.938 kB / 0.9622 GB, free: 112 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.6176, allocations: 5.062 kB / 0.9622 GB, free: 108 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6176, allocations: 1.094 kB / 0.9622 GB, free: 108 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.6181, allocations: 438.3 kB / 0.9626 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.6189, allocations: 0.6549 MB / 0.9633 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.6195, allocations: 0.5643 MB / 0.9638 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.6199, allocations: 341.5 kB / 0.9641 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.621, allocations: 1.028 MB / 0.9652 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.6214, allocations: 414.8 kB / 0.9655 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.6214, allocations: 1.219 kB / 0.9655 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001487/0.6229, allocations: 1.291 MB / 0.9668 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.623, allocations: 83.64 kB / 0.9669 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.6246, allocations: 1.28 MB / 0.9681 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.6247, allocations: 32.27 kB / 0.9682 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.6249, allocations: 285.1 kB / 0.9684 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.625, allocations: 27.58 kB / 0.9685 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.6254, allocations: 351.5 kB / 0.9688 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6255, allocations: 320.8 kB / 0.9691 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.6272, allocations: 1.356 MB / 0.9704 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.6289, allocations: 1.5 MB / 0.9719 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00778/0.6367, allocations: 3.538 MB / 0.9754 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.6367, allocations: 3.938 kB / 0.9754 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005658/0.6424, allocations: 3.973 MB / 0.9792 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.6425, allocations: 4 kB / 0.9792 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.6425, allocations: 12.02 kB / 0.9793 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.6425, allocations: 3.938 kB / 0.9793 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6427, allocations: 19.94 kB / 0.9793 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6427, allocations: 0 / 0.9793 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/0.6437, allocations: 232.3 kB / 0.9795 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.6437, allocations: 19.98 kB / 0.9795 GB, free: 2.445 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.0005021/0.6442, allocations: 245.6 kB / 0.9797 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6444, allocations: 82.62 kB / 0.9798 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.6448, allocations: 83.66 kB / 0.9799 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6448, allocations: 0 / 0.9799 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6448, allocations: 4 kB / 0.9799 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6448, allocations: 0 / 0.9799 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.6456, allocations: 0.5061 MB / 0.9804 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6456, allocations: 0 / 0.9804 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.6457, allocations: 15.92 kB / 0.9804 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6457, allocations: 4.031 kB / 0.9804 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6457, allocations: 0 / 0.9804 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6458, allocations: 4 kB / 0.9804 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6458, allocations: 0 / 0.9804 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.6469, allocations: 1.009 MB / 0.9814 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.6472, allocations: 167.7 kB / 0.9816 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6474, allocations: 4 kB / 0.9816 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.6475, allocations: 3.984 kB / 0.9816 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.6476, allocations: 4 kB / 0.9816 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.6477, allocations: 15.97 kB / 0.9816 GB, free: 204 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001025/0.6487, allocations: 0.718 MB / 0.9823 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.01e-07/0.6487, allocations: 0 / 0.9823 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001601/0.6503, allocations: 403.8 kB / 0.9827 GB, free: 15.08 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.001863/0.6522, allocations: 490.7 kB / 0.9832 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.6547, allocations: 2.493 MB / 0.9856 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6547, allocations: 4.062 kB / 0.9856 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.6551, allocations: 339.8 kB / 0.9859 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.6556, allocations: 74.75 kB / 0.986 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.6584, allocations: 2.055 MB / 0.988 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.659, allocations: 0.9877 MB / 0.989 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.6593, allocations: 37.44 kB / 0.989 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.6594, allocations: 27.41 kB / 0.989 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.6594, allocations: 4 kB / 0.989 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.01929/0.6787, allocations: 10.14 MB / 0.9989 GB, free: 14.43 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches