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.007348/0.007348, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001705/0.001705, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.84 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002869/0.2893, allocations: 1.739 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005628/0.295, allocations: 4.218 MB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.2951, allocations: 4 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.2963, allocations: 366.4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.2964, allocations: 63.66 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.2988, allocations: 0.9847 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.299, allocations: 151.3 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.2991, allocations: 17.53 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.2992, allocations: 47.8 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.2994, allocations: 167.5 kB / 1.096 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.2994, allocations: 16 kB / 1.096 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.3013, allocations: 1.385 MB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.3015, allocations: 275.8 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.3018, allocations: 302.1 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3036, allocations: 1.551 MB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3036, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3036, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3036, allocations: 0 / 1.099 GB, free: 6.152 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.007501/0.3111, allocations: 1.281 MB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3112, allocations: 8.031 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.3115, allocations: 91.59 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.3121, allocations: 406 kB / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3122, allocations: 8.312 kB / 1.101 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.3122, allocations: 16.31 kB / 1.101 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.3127, allocations: 391.5 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3127, allocations: 0 / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3127, allocations: 0 / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.3127, allocations: 4 kB / 1.101 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.3132, allocations: 431.7 kB / 1.102 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3138, allocations: 0.6652 MB / 1.102 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.3143, allocations: 0.5672 MB / 1.103 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3147, allocations: 337.7 kB / 1.103 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.3157, allocations: 1.028 MB / 1.104 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.3161, allocations: 404.8 kB / 1.104 GB, free: 136 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.3161, allocations: 0 / 1.104 GB, free: 136 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001299/0.3174, allocations: 1.297 MB / 1.106 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3175, allocations: 85.09 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3187, allocations: 1.285 MB / 1.107 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3187, allocations: 29.7 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3189, allocations: 285.4 kB / 1.107 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.319, allocations: 23.88 kB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.3193, allocations: 347.5 kB / 1.108 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3195, allocations: 322 kB / 1.108 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.3206, allocations: 1.361 MB / 1.109 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3219, allocations: 1.489 MB / 1.111 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006858/0.3287, allocations: 3.549 MB / 1.114 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3288, allocations: 0 / 1.114 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004045/0.3328, allocations: 3.969 MB / 1.118 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3329, allocations: 8 kB / 1.118 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3329, allocations: 80 / 1.118 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3329, allocations: 0 / 1.118 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.333, allocations: 20.02 kB / 1.118 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3331, allocations: 7.984 kB / 1.118 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.3335, allocations: 228.3 kB / 1.118 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.3336, allocations: 23.98 kB / 1.118 GB, free: 1.629 MB / 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.0003013/0.3339, allocations: 253.6 kB / 1.119 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.334, allocations: 74.62 kB / 1.119 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3342, allocations: 79.72 kB / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3342, allocations: 4 kB / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3342, allocations: 0 / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3343, allocations: 0 / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.3347, allocations: 0.51 MB / 1.119 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3347, allocations: 0 / 1.119 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.3348, allocations: 11.88 kB / 1.119 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3348, allocations: 3.938 kB / 1.119 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3348, allocations: 11.92 kB / 1.119 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3348, allocations: 4.031 kB / 1.119 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3348, allocations: 0 / 1.119 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.3357, allocations: 1.01 MB / 1.12 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3359, allocations: 167.7 kB / 1.12 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.3359, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3361, allocations: 12 kB / 1.12 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3361, allocations: 7.984 kB / 1.121 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.3362, allocations: 7.984 kB / 1.121 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000766/0.3369, allocations: 0.7218 MB / 1.121 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3369, allocations: 3.938 kB / 1.121 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000993/0.3379, allocations: 399.9 kB / 1.122 GB, free: 14.25 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.001106/0.3391, allocations: 483.9 kB / 1.122 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.3413, allocations: 2.502 MB / 1.125 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3414, allocations: 4.062 kB / 1.125 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.3417, allocations: 335.8 kB / 1.125 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3421, allocations: 57.69 kB / 1.125 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3442, allocations: 1.849 MB / 1.127 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.3448, allocations: 0.9879 MB / 1.128 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.3449, allocations: 41.42 kB / 1.128 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.345, allocations: 23.42 kB / 1.128 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/0.345, allocations: 0 / 1.128 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of Templates: time 0.01737/0.3624, allocations: 10.18 MB / 1.138 GB, free: 13.79 MB / 0.9044 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