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.0008568/0.0008568, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008194/0.0008194, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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.8776/0.8776, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.651/1.651, allocations: 359 MB / 0.6044 GB, free: 11.08 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.833e-06/1.833e-06, allocations: 0 / 0.9518 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.507e-05, allocations: 9.031 kB / 0.9518 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002803/0.002828, allocations: 1.732 MB / 0.9535 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007661/0.01049, allocations: 4.887 MB / 0.9583 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.01059, allocations: 0 / 0.9583 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.01192, allocations: 350.3 kB / 0.9586 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.01204, allocations: 55.67 kB / 0.9587 GB, free: 11.82 MB / 0.9167 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.004057/0.01609, allocations: 1.592 MB / 0.9602 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.01639, allocations: 163.3 kB / 0.9604 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.01645, allocations: 9.75 kB / 0.9604 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.01659, allocations: 87.72 kB / 0.9605 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.01684, allocations: 151.6 kB / 0.9606 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.01689, allocations: 20 kB / 0.9606 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.02063, allocations: 2.374 MB / 0.963 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.02087, allocations: 287.8 kB / 0.9632 GB, free: 7.145 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.02106, allocations: 168 kB / 0.9634 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.0242, allocations: 2.502 MB / 0.9658 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.02421, allocations: 3.984 kB / 0.9658 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.474e-06/0.02421, allocations: 4 kB / 0.9658 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.02423, allocations: 0 / 0.9658 GB, free: 4.465 MB / 0.9167 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.007214/0.03144, allocations: 1.335 MB / 0.9671 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.03149, allocations: 8.031 kB / 0.9672 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.03185, allocations: 100.2 kB / 0.9673 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.03231, allocations: 355.7 kB / 0.9676 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.03233, allocations: 12.38 kB / 0.9676 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.03235, allocations: 4.375 kB / 0.9676 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.03269, allocations: 387.7 kB / 0.968 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.0327, allocations: 192 / 0.968 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.03271, allocations: 384 / 0.968 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.03272, allocations: 3.938 kB / 0.968 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.03303, allocations: 439.7 kB / 0.9684 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.03348, allocations: 0.5976 MB / 0.969 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.03387, allocations: 0.5634 MB / 0.9695 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.03408, allocations: 333.5 kB / 0.9699 GB, free: 224 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.03448, allocations: 139.8 kB / 0.97 GB, free: 84 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.03478, allocations: 400.9 kB / 0.9704 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.03478, allocations: 4 kB / 0.9704 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.000965/0.03574, allocations: 1.301 MB / 0.9716 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.03579, allocations: 85.05 kB / 0.9717 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/0.03666, allocations: 1.294 MB / 0.973 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.03669, allocations: 25.7 kB / 0.973 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.03685, allocations: 297.9 kB / 0.9733 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.03688, allocations: 20.02 kB / 0.9733 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.0371, allocations: 347.6 kB / 0.9736 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.03719, allocations: 314 kB / 0.9739 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/0.03801, allocations: 1.377 MB / 0.9753 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.03889, allocations: 1.505 MB / 0.9768 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.04352, allocations: 3.56 MB / 0.9802 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.04353, allocations: 0 / 0.9802 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002915/0.04644, allocations: 4.015 MB / 0.9842 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.04646, allocations: 8 kB / 0.9842 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.04648, allocations: 4.25 kB / 0.9842 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.04649, allocations: 4 kB / 0.9842 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.04658, allocations: 19.92 kB / 0.9842 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.04659, allocations: 0 / 0.9842 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.04687, allocations: 241.4 kB / 0.9844 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.0469, allocations: 28 kB / 0.9844 GB, free: 1.051 MB / 0.9323 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 (cluSiz[1],labels[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.0002188/0.04712, allocations: 253.6 kB / 0.9847 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.04716, allocations: 75.3 kB / 0.9848 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006857/0.04784, allocations: 0.9446 MB / 0.9857 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.04785, allocations: 4 kB / 0.9857 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.04786, allocations: 3.938 kB / 0.9857 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.04786, allocations: 0 / 0.9857 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.04816, allocations: 480.3 kB / 0.9861 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.04816, allocations: 0 / 0.9861 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.04819, allocations: 4 kB / 0.9862 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0482, allocations: 0 / 0.9862 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.04821, allocations: 7.984 kB / 0.9862 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.04821, allocations: 0 / 0.9862 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.04821, allocations: 0 / 0.9862 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.04883, allocations: 1.014 MB / 0.9872 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.04889, allocations: 99.17 kB / 0.9872 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.04893, allocations: 4 kB / 0.9872 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.049, allocations: 4 kB / 0.9873 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.04904, allocations: 15.92 kB / 0.9873 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.04906, allocations: 15.97 kB / 0.9873 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005195/0.04958, allocations: 0.7222 MB / 0.988 GB, free: 13.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.04958, allocations: 4 kB / 0.988 GB, free: 13.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001187/0.05077, allocations: 0.5884 MB / 0.9886 GB, free: 12.75 MB / 0.948 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.001358/0.05213, allocations: 0.7867 MB / 0.9893 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.05341, allocations: 1.997 MB / 0.9913 GB, free: 9.973 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.05341, allocations: 0 / 0.9913 GB, free: 9.973 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.05363, allocations: 339.7 kB / 0.9916 GB, free: 9.641 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.0539, allocations: 59.81 kB / 0.9917 GB, free: 9.582 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.05541, allocations: 1.922 MB / 0.9935 GB, free: 7.617 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.05565, allocations: 397.8 kB / 0.9939 GB, free: 7.203 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.05572, allocations: 28.48 kB / 0.994 GB, free: 7.176 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.05572, allocations: 0 / 0.994 GB, free: 7.176 MB / 0.948 GB Notification: Performance of Templates: time 0.01263/0.06835, allocations: 15.02 MB / 1.009 GB, free: 8.172 MB / 0.9636 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time [Calling sys.exit(0), Time elapsed: 9.266826203092933]