Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8988/0.8988, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7877 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.888e-05, allocations: 2.312 kB / 0.7877 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002984/0.003003, allocations: 1.807 MB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007599/0.0106, allocations: 5.115 MB / 0.7944 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.01068, allocations: 7.875 kB / 0.7944 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008103/0.01149, allocations: 341 kB / 0.7947 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.01157, allocations: 64.95 kB / 0.7948 GB, free: 4.738 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.0138, allocations: 1.604 MB / 0.7964 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.014, allocations: 171.2 kB / 0.7965 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.01403, allocations: 8.594 kB / 0.7965 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.01411, allocations: 79.8 kB / 0.7966 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.0142, allocations: 61.11 kB / 0.7967 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.01422, allocations: 4 kB / 0.7967 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.01653, allocations: 2.407 MB / 0.799 GB, free: 440 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.01667, allocations: 264.3 kB / 0.7993 GB, free: 176 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.01676, allocations: 131.4 kB / 0.7994 GB, free: 44 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.01887, allocations: 2.387 MB / 0.8017 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01887, allocations: 0 / 0.8017 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01887, allocations: 0 / 0.8017 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01887, allocations: 0 / 0.8017 GB, free: 13.65 MB / 0.7605 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.00149/0.02037, allocations: 1.447 MB / 0.8032 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.0204, allocations: 12.03 kB / 0.8032 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.02063, allocations: 96.2 kB / 0.8033 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.0209, allocations: 343.5 kB / 0.8036 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.02091, allocations: 384 / 0.8036 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.02093, allocations: 13.42 kB / 0.8036 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.02112, allocations: 235.2 kB / 0.8038 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.02113, allocations: 192 / 0.8038 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.02114, allocations: 384 / 0.8038 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.02114, allocations: 5.062 kB / 0.8038 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.02126, allocations: 195.9 kB / 0.804 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.02158, allocations: 0.5185 MB / 0.8045 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.02176, allocations: 293.9 kB / 0.8048 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.279e-05/0.02186, allocations: 163.8 kB / 0.805 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.02214, allocations: 134.9 kB / 0.8051 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.0223, allocations: 244.2 kB / 0.8053 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.0223, allocations: 0 / 0.8053 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.02284, allocations: 0.77 MB / 0.8061 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.02287, allocations: 81.11 kB / 0.8062 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000673/0.02355, allocations: 1.278 MB / 0.8074 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.02357, allocations: 33.7 kB / 0.8074 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.02374, allocations: 384.4 kB / 0.8078 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.02376, allocations: 23.83 kB / 0.8078 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.024, allocations: 422.2 kB / 0.8082 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.0241, allocations: 0.4966 MB / 0.8087 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.0244, allocations: 494.4 kB / 0.8092 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.02477, allocations: 0.66 MB / 0.8098 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.02641, allocations: 2.254 MB / 0.812 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02641, allocations: 0 / 0.812 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002405/0.02882, allocations: 3.859 MB / 0.8158 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.02883, allocations: 4.781 kB / 0.8158 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.02884, allocations: 8.031 kB / 0.8158 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.02885, allocations: 0 / 0.8158 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.02894, allocations: 23.92 kB / 0.8158 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.02894, allocations: 7.938 kB / 0.8158 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.02918, allocations: 237.4 kB / 0.8161 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.02921, allocations: 27.97 kB / 0.8161 GB, free: 14.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001149/0.02932, allocations: 168.5 kB / 0.8163 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.02937, allocations: 83.25 kB / 0.8163 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.02979, allocations: 0.5776 MB / 0.8169 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.02979, allocations: 4 kB / 0.8169 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.02979, allocations: 0 / 0.8169 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.02979, allocations: 3.938 kB / 0.8169 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.0303, allocations: 387.5 kB / 0.8173 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.0303, allocations: 4 kB / 0.8173 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.03034, allocations: 4 kB / 0.8173 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.03034, allocations: 0 / 0.8173 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.03034, allocations: 8 kB / 0.8173 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.03035, allocations: 3.984 kB / 0.8173 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.03035, allocations: 4.031 kB / 0.8173 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.03073, allocations: 0.6618 MB / 0.8179 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.03078, allocations: 91.23 kB / 0.818 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.03081, allocations: 7.984 kB / 0.818 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.03088, allocations: 4 kB / 0.818 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.0309, allocations: 7.984 kB / 0.818 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.03092, allocations: 7.984 kB / 0.8181 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003051/0.03122, allocations: 0.5775 MB / 0.8186 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03123, allocations: 0 / 0.8186 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008882/0.03211, allocations: 0.5923 MB / 0.8192 GB, free: 11.32 MB / 0.7761 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.001176/0.03329, allocations: 0.7877 MB / 0.82 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007017/0.03399, allocations: 1.09 MB / 0.821 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.03399, allocations: 0 / 0.821 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.0341, allocations: 171.5 kB / 0.8212 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.03435, allocations: 64.77 kB / 0.8213 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.03547, allocations: 1.544 MB / 0.8228 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.03558, allocations: 191.6 kB / 0.8229 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.148e-05/0.03566, allocations: 41.39 kB / 0.823 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.03579, allocations: 114.2 kB / 0.8231 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.03579, allocations: 0 / 0.8231 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.01817/0.05396, allocations: 16.44 MB / 0.8391 GB, free: 6.988 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.31872553518042]