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.001443/0.001443, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6369, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00203/0.639, allocations: 1.417 MB / 0.951 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.6427, allocations: 3.025 MB / 0.954 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.6428, allocations: 0 / 0.954 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.6429, allocations: 13.11 kB / 0.954 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.6431, allocations: 31.47 kB / 0.954 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.6456, allocations: 0.9962 MB / 0.955 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6457, allocations: 80.86 kB / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.6457, allocations: 3.938 kB / 0.9551 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.6458, allocations: 51.83 kB / 0.9551 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.646, allocations: 156.5 kB / 0.9553 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.6461, allocations: 13.19 kB / 0.9553 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.6478, allocations: 1.375 MB / 0.9566 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.6484, allocations: 0.6857 MB / 0.9573 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.6487, allocations: 439.4 kB / 0.9577 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.6506, allocations: 1.776 MB / 0.9594 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6506, allocations: 4 kB / 0.9594 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6506, allocations: 0 / 0.9594 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6506, allocations: 5.438 kB / 0.9594 GB, free: 2.449 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.0105/0.6611, allocations: 1.681 MB / 0.9611 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6612, allocations: 13.39 kB / 0.9611 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.6616, allocations: 139.4 kB / 0.9612 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.6621, allocations: 0.5315 MB / 0.9617 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.6621, allocations: 3.125 kB / 0.9617 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.6621, allocations: 9.281 kB / 0.9618 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.6626, allocations: 394.7 kB / 0.9621 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6626, allocations: 0 / 0.9621 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6626, allocations: 5.094 kB / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6626, allocations: 1.062 kB / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.663, allocations: 442.6 kB / 0.9626 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007883/0.6638, allocations: 0.7991 MB / 0.9633 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.6644, allocations: 0.5651 MB / 0.9639 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.6647, allocations: 337.8 kB / 0.9642 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.6658, allocations: 1.027 MB / 0.9652 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.6662, allocations: 410.6 kB / 0.9656 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.6662, allocations: 1.094 kB / 0.9656 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001415/0.6676, allocations: 1.337 MB / 0.9669 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.6677, allocations: 88.33 kB / 0.967 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.6697, allocations: 1.849 MB / 0.9688 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/0.6698, allocations: 36.64 kB / 0.9688 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.6701, allocations: 475 kB / 0.9693 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.6702, allocations: 23.34 kB / 0.9693 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.6705, allocations: 352.8 kB / 0.9697 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6706, allocations: 305.1 kB / 0.9699 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.672, allocations: 1.509 MB / 0.9714 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.6733, allocations: 1.65 MB / 0.973 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.6805, allocations: 3.682 MB / 0.9766 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6805, allocations: 0 / 0.9766 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004512/0.685, allocations: 4.327 MB / 0.9809 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6851, allocations: 8.031 kB / 0.9809 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.6851, allocations: 4 kB / 0.9809 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.6851, allocations: 0 / 0.9809 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.6853, allocations: 19.92 kB / 0.9809 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6853, allocations: 0 / 0.9809 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.6862, allocations: 228.3 kB / 0.9811 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.6862, allocations: 19.98 kB / 0.9811 GB, free: 0.8828 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.0005391/0.6868, allocations: 361.6 kB / 0.9815 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.6869, allocations: 130 kB / 0.9816 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.6872, allocations: 149 kB / 0.9817 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6873, allocations: 4 kB / 0.9817 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6873, allocations: 0 / 0.9817 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6873, allocations: 0 / 0.9817 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.6879, allocations: 0.6794 MB / 0.9824 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6879, allocations: 0 / 0.9824 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.688, allocations: 15.97 kB / 0.9824 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.688, allocations: 0 / 0.9824 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.6881, allocations: 3.984 kB / 0.9824 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6881, allocations: 4 kB / 0.9824 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6881, allocations: 0 / 0.9824 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.689, allocations: 1.051 MB / 0.9834 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.6892, allocations: 211 kB / 0.9836 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.6893, allocations: 4 kB / 0.9837 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.6895, allocations: 7.938 kB / 0.9837 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.6895, allocations: 7.984 kB / 0.9837 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.6896, allocations: 11.98 kB / 0.9837 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001225/0.6908, allocations: 1.104 MB / 0.9848 GB, free: 13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6908, allocations: 0 / 0.9848 GB, free: 13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001244/0.6921, allocations: 431.9 kB / 0.9852 GB, free: 12.58 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.001149/0.6932, allocations: 484.4 kB / 0.9856 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.6956, allocations: 2.652 MB / 0.9882 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6956, allocations: 0 / 0.9882 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.6959, allocations: 343.7 kB / 0.9885 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.6964, allocations: 50.42 kB / 0.9886 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.6994, allocations: 2.6 MB / 0.9911 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.7001, allocations: 1.153 MB / 0.9923 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.7003, allocations: 36.55 kB / 0.9923 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.7004, allocations: 23.42 kB / 0.9923 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.7004, allocations: 0 / 0.9923 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of Templates: time 0.01817/0.7186, allocations: 10.12 MB / 1.002 GB, free: 11.09 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