Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001813/0.001813, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002211/0.002211, allocations: 161.3 kB / 22.76 MB, free: 1.652 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 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.325/3.325, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8777 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.642e-05, allocations: 6.359 kB / 0.8777 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003787/0.003823, allocations: 1.739 MB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.01384, allocations: 4.891 MB / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.01399, allocations: 0 / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.01558, allocations: 354.3 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.01579, allocations: 59.66 kB / 0.8846 GB, free: 15.34 MB / 0.8542 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'. Notification: Performance of NFTyping.typeClassSections: time 0.005096/0.02088, allocations: 1.6 MB / 0.8861 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.02128, allocations: 167.3 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.02133, allocations: 9.797 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.02152, allocations: 79.75 kB / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.02182, allocations: 155.7 kB / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.02188, allocations: 16 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005058/0.02694, allocations: 2.401 MB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.02727, allocations: 287.8 kB / 0.8892 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.02756, allocations: 167.9 kB / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.03293, allocations: 2.521 MB / 0.8918 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.03293, allocations: 0 / 0.8918 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.884e-06/0.03294, allocations: 0 / 0.8918 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.03296, allocations: 0 / 0.8918 GB, free: 7.938 MB / 0.8542 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.01013/0.0431, allocations: 1.335 MB / 0.8931 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.04315, allocations: 11.97 kB / 0.8931 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.0437, allocations: 116.1 kB / 0.8932 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/0.04448, allocations: 347.8 kB / 0.8935 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.0445, allocations: 8.359 kB / 0.8935 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.04454, allocations: 8.375 kB / 0.8935 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.04512, allocations: 383.8 kB / 0.8939 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.04513, allocations: 192 / 0.8939 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.04515, allocations: 384 / 0.8939 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.04516, allocations: 3.938 kB / 0.8939 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.04575, allocations: 443.7 kB / 0.8943 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.0466, allocations: 0.5976 MB / 0.8949 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.0473, allocations: 0.5593 MB / 0.8955 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.04772, allocations: 329.7 kB / 0.8958 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/0.04846, allocations: 139.9 kB / 0.8959 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000564/0.04903, allocations: 408.9 kB / 0.8963 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.04903, allocations: 0 / 0.8963 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001945/0.05097, allocations: 1.301 MB / 0.8976 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.05106, allocations: 84.98 kB / 0.8977 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.05283, allocations: 1.294 MB / 0.8989 GB, free: 432 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.05288, allocations: 41.69 kB / 0.899 GB, free: 384 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.05319, allocations: 289.9 kB / 0.8992 GB, free: 88 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.05324, allocations: 23.84 kB / 0.8993 GB, free: 64 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.0537, allocations: 343.6 kB / 0.8996 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.05389, allocations: 318 kB / 0.8999 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.05558, allocations: 1.373 MB / 0.9012 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.05741, allocations: 1.505 MB / 0.9027 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008693/0.0661, allocations: 3.557 MB / 0.9062 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.06611, allocations: 0 / 0.9062 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005861/0.07197, allocations: 4.023 MB / 0.9101 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.072, allocations: 8 kB / 0.9101 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.07202, allocations: 3.984 kB / 0.9101 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/0.07205, allocations: 8 kB / 0.9101 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.07222, allocations: 23.91 kB / 0.9101 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.07223, allocations: 0 / 0.9101 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.07284, allocations: 241.3 kB / 0.9104 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.07291, allocations: 23.98 kB / 0.9104 GB, free: 4.504 MB / 0.8698 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.0004523/0.07336, allocations: 245.7 kB / 0.9106 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.07351, allocations: 75.3 kB / 0.9107 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.075, allocations: 0.9527 MB / 0.9116 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.075, allocations: 4.031 kB / 0.9116 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.07501, allocations: 3.938 kB / 0.9116 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.07501, allocations: 0 / 0.9116 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.07561, allocations: 464.4 kB / 0.9121 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.07561, allocations: 0 / 0.9121 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.0757, allocations: 11.98 kB / 0.9121 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.0757, allocations: 0 / 0.9121 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.07572, allocations: 0 / 0.9121 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.07572, allocations: 4 kB / 0.9121 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.07573, allocations: 3.938 kB / 0.9121 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.07697, allocations: 1.03 MB / 0.9131 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.07714, allocations: 87.23 kB / 0.9132 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.07723, allocations: 7.922 kB / 0.9132 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.0774, allocations: 4 kB / 0.9132 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.07746, allocations: 15.92 kB / 0.9132 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.07751, allocations: 11.98 kB / 0.9132 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001032/0.07854, allocations: 0.7222 MB / 0.9139 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.07854, allocations: 0 / 0.9139 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001958/0.0805, allocations: 0.5923 MB / 0.9145 GB, free: 216 kB / 0.8698 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.002993/0.08349, allocations: 0.7912 MB / 0.9153 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.08616, allocations: 1.993 MB / 0.9172 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.08616, allocations: 0 / 0.9172 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.08661, allocations: 343.9 kB / 0.9176 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.0871, allocations: 49.81 kB / 0.9176 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.09022, allocations: 1.911 MB / 0.9195 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.09072, allocations: 393.8 kB / 0.9199 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.0909, allocations: 49.39 kB / 0.9199 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.09103, allocations: 24.48 kB / 0.9199 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/0.09103, allocations: 0 / 0.9199 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of Templates: time 0.03369/0.1247, allocations: 14.77 MB / 0.9343 GB, free: 12 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.686925885034725]