Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002016/0.002016, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002047/0.002047, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.615/1.615, allocations: 177.1 MB / 203.9 MB, free: 4.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.064/3.064, allocations: 377.9 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.692e-05, allocations: 3.297 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003529/0.003556, allocations: 1.792 MB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009525/0.01308, allocations: 5.21 MB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.0132, allocations: 0.5312 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.01455, allocations: 348.5 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.0147, allocations: 61.03 kB / 0.8181 GB, free: 10.61 MB / 0.7761 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.004022/0.01872, allocations: 1.602 MB / 0.8197 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.019, allocations: 172.5 kB / 0.8199 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.01906, allocations: 7.656 kB / 0.8199 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.01919, allocations: 79.73 kB / 0.8199 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.01945, allocations: 151.7 kB / 0.8201 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.01951, allocations: 16 kB / 0.8201 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.02347, allocations: 2.41 MB / 0.8225 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.02376, allocations: 287.8 kB / 0.8227 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.02401, allocations: 165.1 kB / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.02759, allocations: 2.53 MB / 0.8254 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.02759, allocations: 0 / 0.8254 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.412e-06/0.02759, allocations: 3.719 kB / 0.8254 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.0276, allocations: 0 / 0.8254 GB, free: 3.211 MB / 0.7761 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.01159/0.03919, allocations: 1.47 MB / 0.8268 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.03923, allocations: 12.03 kB / 0.8268 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.03962, allocations: 96.2 kB / 0.8269 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.04021, allocations: 350.6 kB / 0.8272 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.04023, allocations: 5.844 kB / 0.8272 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.04027, allocations: 16.34 kB / 0.8273 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.04075, allocations: 369.3 kB / 0.8276 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.04076, allocations: 1.125 kB / 0.8276 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.04078, allocations: 384 / 0.8276 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.04078, allocations: 7.938 kB / 0.8276 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.04126, allocations: 384.9 kB / 0.828 GB, free: 448 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.0421, allocations: 0.677 MB / 0.8286 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.04272, allocations: 0.5292 MB / 0.8292 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.04308, allocations: 304.2 kB / 0.8294 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.0437, allocations: 140.8 kB / 0.8296 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.04417, allocations: 384.8 kB / 0.83 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.04417, allocations: 0.9375 kB / 0.83 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.001525/0.04569, allocations: 1.192 MB / 0.8311 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.201e-05/0.04577, allocations: 89.06 kB / 0.8312 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.04727, allocations: 1.291 MB / 0.8325 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.04731, allocations: 29.7 kB / 0.8325 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.04765, allocations: 372.7 kB / 0.8328 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.04769, allocations: 23.83 kB / 0.8329 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000676/0.04837, allocations: 402.5 kB / 0.8333 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.04864, allocations: 0.4965 MB / 0.8337 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.04945, allocations: 0.6547 MB / 0.8344 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/0.05044, allocations: 0.8203 MB / 0.8352 GB, free: 8.91 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/0.05816, allocations: 3.911 MB / 0.839 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.05817, allocations: 0 / 0.839 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00538/0.06355, allocations: 4.203 MB / 0.8431 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.06356, allocations: 4 kB / 0.8431 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.06358, allocations: 4 kB / 0.8431 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.0636, allocations: 0 / 0.8431 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.06375, allocations: 27.95 kB / 0.8431 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.06376, allocations: 4 kB / 0.8431 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.06431, allocations: 237.4 kB / 0.8434 GB, free: 400 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.06437, allocations: 24.3 kB / 0.8434 GB, free: 376 kB / 0.7917 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.0002318/0.0646, allocations: 177.2 kB / 0.8436 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.0647, allocations: 83.25 kB / 0.8436 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.06582, allocations: 0.8665 MB / 0.8445 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.06582, allocations: 4.031 kB / 0.8445 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.06583, allocations: 7.875 kB / 0.8445 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.06584, allocations: 0 / 0.8445 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.06645, allocations: 0.5289 MB / 0.845 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.06645, allocations: 0 / 0.845 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.06652, allocations: 7.984 kB / 0.845 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.06652, allocations: 3.938 kB / 0.845 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.06654, allocations: 8 kB / 0.845 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.06654, allocations: 4 kB / 0.845 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.06654, allocations: 0 / 0.845 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.06762, allocations: 0.9507 MB / 0.846 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.06773, allocations: 87.25 kB / 0.846 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.0678, allocations: 4 kB / 0.846 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.06794, allocations: 4 kB / 0.8461 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.06799, allocations: 15.86 kB / 0.8461 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.06803, allocations: 15.97 kB / 0.8461 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007634/0.06879, allocations: 0.609 MB / 0.8467 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.06879, allocations: 0 / 0.8467 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001897/0.07069, allocations: 0.5962 MB / 0.8473 GB, free: 12.32 MB / 0.8073 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.002027/0.07271, allocations: 0.7915 MB / 0.848 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.07448, allocations: 1.383 MB / 0.8494 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.07448, allocations: 0 / 0.8494 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.07486, allocations: 315.4 kB / 0.8497 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.07525, allocations: 72.05 kB / 0.8498 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.07751, allocations: 1.685 MB / 0.8514 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.07794, allocations: 381.8 kB / 0.8518 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.07809, allocations: 33.47 kB / 0.8518 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.0782, allocations: 28.48 kB / 0.8518 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.0782, allocations: 0 / 0.8518 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.02768/0.1059, allocations: 14.8 MB / 0.8663 GB, free: 8.918 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.095374082913622]