Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 1.057 GB, free: 1.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4086, allocations: 160.7 MB / 1.214 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003344/0.412, allocations: 1.766 MB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008523/0.4205, allocations: 5.425 MB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.4206, allocations: 3.938 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.422, allocations: 378.3 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.4222, allocations: 63.66 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 10.1.1-maint.10.0.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.004541/0.4267, allocations: 1.499 MB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.427, allocations: 159.4 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.4271, allocations: 9.547 kB / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.4272, allocations: 59.72 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.4275, allocations: 171.4 kB / 1.223 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.4275, allocations: 12 kB / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.4313, allocations: 2.316 MB / 1.226 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.4316, allocations: 279.8 kB / 1.226 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.432, allocations: 306.1 kB / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.4355, allocations: 2.192 MB / 1.228 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4355, allocations: 0 / 1.228 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4355, allocations: 0 / 1.228 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.4355, allocations: 3.938 kB / 1.228 GB, free: 2.137 MB / 0.9669 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.0103/0.4458, allocations: 1.418 MB / 1.23 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.4459, allocations: 12.03 kB / 1.23 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.4463, allocations: 96.2 kB / 1.23 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.447, allocations: 406.4 kB / 1.23 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.447, allocations: 4.375 kB / 1.23 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.4471, allocations: 8.375 kB / 1.23 GB, free: 104 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.4476, allocations: 403.4 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4476, allocations: 0 / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4476, allocations: 0 / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4476, allocations: 4 kB / 1.231 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.4481, allocations: 435.7 kB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.4488, allocations: 0.6699 MB / 1.232 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.4494, allocations: 0.5632 MB / 1.232 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.4498, allocations: 333.7 kB / 1.233 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.4512, allocations: 1.025 MB / 1.234 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.4517, allocations: 404.8 kB / 1.234 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.4517, allocations: 0 / 1.234 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001744/0.4535, allocations: 1.309 MB / 1.235 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.4535, allocations: 89.03 kB / 1.235 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.455, allocations: 1.286 MB / 1.237 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.455, allocations: 37.69 kB / 1.237 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.4553, allocations: 289.9 kB / 1.237 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.4553, allocations: 19.84 kB / 1.237 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.4557, allocations: 351.8 kB / 1.237 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4559, allocations: 322 kB / 1.238 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.4573, allocations: 1.377 MB / 1.239 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.4589, allocations: 1.505 MB / 1.24 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00746/0.4663, allocations: 3.557 MB / 1.244 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4663, allocations: 0 / 1.244 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005022/0.4714, allocations: 4.026 MB / 1.248 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4714, allocations: 4 kB / 1.248 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.4714, allocations: 7.984 kB / 1.248 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.4714, allocations: 4 kB / 1.248 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.4716, allocations: 15.94 kB / 1.248 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4716, allocations: 8.031 kB / 1.248 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.4722, allocations: 241.3 kB / 1.248 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.4722, allocations: 27.98 kB / 1.248 GB, free: 13.32 MB / 0.9981 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.0003783/0.4726, allocations: 241.7 kB / 1.248 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.4727, allocations: 83.23 kB / 1.248 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.473, allocations: 87.73 kB / 1.249 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.473, allocations: 0 / 1.249 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.473, allocations: 0 / 1.249 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.473, allocations: 4 kB / 1.249 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.4736, allocations: 0.514 MB / 1.249 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4736, allocations: 4 kB / 1.249 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.4737, allocations: 11.92 kB / 1.249 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4737, allocations: 0 / 1.249 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4737, allocations: 4 kB / 1.249 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4737, allocations: 3.984 kB / 1.249 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4737, allocations: 4.031 kB / 1.249 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.4749, allocations: 1.01 MB / 1.25 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.4751, allocations: 168.3 kB / 1.25 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.4752, allocations: 7.984 kB / 1.25 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4754, allocations: 8 kB / 1.25 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4754, allocations: 11.98 kB / 1.25 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.4755, allocations: 7.984 kB / 1.25 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009172/0.4764, allocations: 0.7261 MB / 1.251 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4764, allocations: 0 / 1.251 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001841/0.4782, allocations: 0.5845 MB / 1.251 GB, free: 9.742 MB / 0.9981 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.001975/0.4802, allocations: 0.7013 MB / 1.252 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.4825, allocations: 2 MB / 1.254 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4825, allocations: 0 / 1.254 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.4829, allocations: 347.7 kB / 1.254 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4833, allocations: 52.78 kB / 1.255 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.486, allocations: 1.947 MB / 1.256 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.4867, allocations: 0.9839 MB / 1.257 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.4868, allocations: 27.42 kB / 1.257 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.4868, allocations: 0 / 1.257 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.722/1.209, allocations: 14.57 MB / 1.272 GB, free: 45.53 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.66805050498806]