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.007473/0.007473, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001972/0.001972, allocations: 194.2 kB / 16.67 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 68.09 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.27, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003109/0.2731, allocations: 1.731 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.2792, allocations: 4.218 MB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2793, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.2806, allocations: 370.4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2807, allocations: 63.66 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.2833, allocations: 0.989 MB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.2836, allocations: 147.3 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.2837, allocations: 21.55 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.2837, allocations: 47.78 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.284, allocations: 163.5 kB / 1.096 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.284, allocations: 16 kB / 1.096 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.2861, allocations: 1.381 MB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.2863, allocations: 275.8 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.2866, allocations: 302.1 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.2884, allocations: 1.569 MB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2884, allocations: 0 / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2884, allocations: 4 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.2884, allocations: 0 / 1.099 GB, free: 6.117 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.01034/0.2988, allocations: 1.313 MB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2988, allocations: 8.031 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.2992, allocations: 96.2 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.2997, allocations: 418.1 kB / 1.101 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2997, allocations: 4.375 kB / 1.101 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.2998, allocations: 4.375 kB / 1.101 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.3003, allocations: 391.5 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3003, allocations: 0 / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3003, allocations: 4 kB / 1.101 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3003, allocations: 0 / 1.101 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.3008, allocations: 435.7 kB / 1.102 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.3014, allocations: 0.6658 MB / 1.102 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.302, allocations: 0.5594 MB / 1.103 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.3024, allocations: 337.7 kB / 1.103 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009397/0.3033, allocations: 1.036 MB / 1.104 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.3037, allocations: 404.8 kB / 1.105 GB, free: 60 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.3037, allocations: 4 kB / 1.105 GB, free: 56 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001361/0.3051, allocations: 1.297 MB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3052, allocations: 81.11 kB / 1.106 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.3064, allocations: 1.285 MB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3065, allocations: 29.83 kB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.3067, allocations: 293.9 kB / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3067, allocations: 23.84 kB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.3071, allocations: 351.5 kB / 1.108 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3072, allocations: 322 kB / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.3085, allocations: 1.361 MB / 1.109 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3099, allocations: 1.497 MB / 1.111 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00721/0.3171, allocations: 3.538 MB / 1.114 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3171, allocations: 0 / 1.114 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004388/0.3215, allocations: 3.977 MB / 1.118 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3215, allocations: 5.75 kB / 1.118 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3216, allocations: 4 kB / 1.118 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3216, allocations: 4 kB / 1.118 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3217, allocations: 19.98 kB / 1.118 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3218, allocations: 0 / 1.118 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.3223, allocations: 233.4 kB / 1.118 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.3223, allocations: 23.98 kB / 1.118 GB, free: 1.539 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.0003028/0.3226, allocations: 245.6 kB / 1.119 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3227, allocations: 95.14 kB / 1.119 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.323, allocations: 79.73 kB / 1.119 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.323, allocations: 0 / 1.119 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.323, allocations: 3.984 kB / 1.119 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.323, allocations: 4 kB / 1.119 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.3235, allocations: 0.5177 MB / 1.119 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3235, allocations: 0 / 1.119 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.3236, allocations: 15.91 kB / 1.119 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3236, allocations: 7.938 kB / 1.119 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3236, allocations: 3.984 kB / 1.119 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3236, allocations: 0 / 1.119 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3236, allocations: 4 kB / 1.119 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009907/0.3246, allocations: 1.002 MB / 1.12 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3248, allocations: 176.3 kB / 1.121 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.3249, allocations: 0 / 1.121 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.325, allocations: 4 kB / 1.121 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3251, allocations: 7.984 kB / 1.121 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3251, allocations: 15.92 kB / 1.121 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000821/0.3259, allocations: 0.7218 MB / 1.121 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3259, allocations: 0 / 1.121 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001011/0.327, allocations: 403 kB / 1.122 GB, free: 14.14 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.001105/0.3281, allocations: 490 kB / 1.122 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.3303, allocations: 2.499 MB / 1.125 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3303, allocations: 0 / 1.125 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.3307, allocations: 340.2 kB / 1.125 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3311, allocations: 61.81 kB / 1.125 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3332, allocations: 1.879 MB / 1.127 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.3338, allocations: 0.9879 MB / 1.128 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.334, allocations: 45.34 kB / 1.128 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3341, allocations: 27.42 kB / 1.128 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.3341, allocations: 0 / 1.128 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of Templates: time 0.01752/0.3516, allocations: 10.18 MB / 1.138 GB, free: 13.62 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