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.007998/0.007998, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.001812/0.001812, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.67 kB / 0.9509 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002636/0.271, allocations: 1.414 MB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.2757, allocations: 3.029 MB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.2757, allocations: 7.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2759, allocations: 7.922 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.2761, allocations: 23.84 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.2788, allocations: 0.994 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.2789, allocations: 83.73 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.279, allocations: 4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.2791, allocations: 43.84 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.2793, allocations: 157.6 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.2794, allocations: 12 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.2816, allocations: 1.385 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000739/0.2824, allocations: 0.6952 MB / 1.096 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.2827, allocations: 437 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.285, allocations: 1.787 MB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2851, allocations: 0 / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2851, allocations: 0 / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2851, allocations: 4 kB / 1.098 GB, free: 7.383 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.008495/0.2936, allocations: 1.694 MB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2937, allocations: 8.031 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.2941, allocations: 146.9 kB / 1.1 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.2947, allocations: 0.525 MB / 1.1 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2948, allocations: 12.34 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2948, allocations: 12.38 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.2953, allocations: 395.4 kB / 1.101 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2953, allocations: 0 / 1.101 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2953, allocations: 0 / 1.101 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2953, allocations: 4 kB / 1.101 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.2958, allocations: 431.7 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.2966, allocations: 0.8112 MB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.2971, allocations: 0.5672 MB / 1.102 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.2974, allocations: 333.7 kB / 1.103 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.2985, allocations: 1.028 MB / 1.104 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.2989, allocations: 404.8 kB / 1.104 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2989, allocations: 0 / 1.104 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001403/0.3003, allocations: 1.347 MB / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.3004, allocations: 81.09 kB / 1.105 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.3022, allocations: 1.839 MB / 1.107 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.3023, allocations: 33.7 kB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.3026, allocations: 469.3 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.3027, allocations: 27.77 kB / 1.108 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.303, allocations: 351.5 kB / 1.108 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.3031, allocations: 309.1 kB / 1.108 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3045, allocations: 1.506 MB / 1.11 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.3059, allocations: 1.642 MB / 1.111 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/0.3135, allocations: 3.694 MB / 1.115 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.3136, allocations: 0 / 1.115 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004635/0.3182, allocations: 4.323 MB / 1.119 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3183, allocations: 4 kB / 1.119 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.3183, allocations: 4 kB / 1.119 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3183, allocations: 0 / 1.119 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3185, allocations: 27.95 kB / 1.119 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3185, allocations: 0 / 1.119 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.3191, allocations: 228.3 kB / 1.119 GB, free: 500 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.3191, allocations: 23.92 kB / 1.12 GB, free: 476 kB / 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.0004335/0.3196, allocations: 361.6 kB / 1.12 GB, free: 104 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3197, allocations: 126.1 kB / 1.12 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.32, allocations: 149 kB / 1.12 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.32, allocations: 4 kB / 1.12 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3201, allocations: 0 / 1.12 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3201, allocations: 3.984 kB / 1.12 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.3206, allocations: 0.6832 MB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3207, allocations: 0 / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.3207, allocations: 7.938 kB / 1.121 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3207, allocations: 7.984 kB / 1.121 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3208, allocations: 0 / 1.121 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3208, allocations: 4.031 kB / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3208, allocations: 4 kB / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.3217, allocations: 1.055 MB / 1.122 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3219, allocations: 195.2 kB / 1.122 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.3219, allocations: 4 kB / 1.122 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3221, allocations: 8 kB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.3222, allocations: 7.984 kB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.3222, allocations: 15.98 kB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001251/0.3235, allocations: 1.104 MB / 1.123 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3235, allocations: 0 / 1.123 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001217/0.3247, allocations: 435.8 kB / 1.124 GB, free: 12.16 MB / 0.8887 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.001197/0.3259, allocations: 486.5 kB / 1.124 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.3283, allocations: 2.648 MB / 1.127 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3283, allocations: 4.062 kB / 1.127 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.3287, allocations: 335.8 kB / 1.127 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.3291, allocations: 54.47 kB / 1.127 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.3321, allocations: 2.564 MB / 1.129 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.3328, allocations: 1.153 MB / 1.131 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.3329, allocations: 36.55 kB / 1.131 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.333, allocations: 23.42 kB / 1.131 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.333, allocations: 0 / 1.131 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of Templates: time 0.01805/0.3511, allocations: 10.21 MB / 1.141 GB, free: 10.62 MB / 0.9044 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