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.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.001931/0.001931, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002335/0.002335, allocations: 189 kB / 22.11 MB, free: 4.223 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.565/1.565, allocations: 225.6 MB / 250.8 MB, free: 2.891 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.998/2.998, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002139/0.002139, allocations: 63.91 kB / 1.137 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208/1.21, allocations: 173.6 MB / 1.307 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003938/1.214, allocations: 1.781 MB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009903/1.224, allocations: 5.464 MB / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/1.224, allocations: 1.156 kB / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/1.226, allocations: 369.7 kB / 1.314 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/1.226, allocations: 73.16 kB / 1.314 GB, free: 11.74 MB / 1.014 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'. Notification: Performance of NFTyping.typeClassSections: time 0.006092/1.232, allocations: 1.595 MB / 1.316 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004683/1.233, allocations: 158.4 kB / 1.316 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/1.233, allocations: 18.14 kB / 1.316 GB, free: 10.72 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/1.233, allocations: 66.8 kB / 1.316 GB, free: 10.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/1.233, allocations: 166.2 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/1.233, allocations: 19.47 kB / 1.316 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005707/1.239, allocations: 2.531 MB / 1.319 GB, free: 9.066 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/1.239, allocations: 281.7 kB / 1.319 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000388/1.24, allocations: 309.8 kB / 1.319 GB, free: 8.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005738/1.246, allocations: 2.205 MB / 1.321 GB, free: 7.402 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.246, allocations: 0 / 1.321 GB, free: 7.402 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.943e-06/1.246, allocations: 0 / 1.321 GB, free: 7.402 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.246, allocations: 1.031 kB / 1.321 GB, free: 7.402 MB / 1.014 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.01192/1.257, allocations: 1.333 MB / 1.323 GB, free: 6.379 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.258, allocations: 13.75 kB / 1.323 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/1.258, allocations: 99.86 kB / 1.323 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/1.259, allocations: 358.3 kB / 1.323 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.259, allocations: 3.406 kB / 1.323 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/1.259, allocations: 9.188 kB / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/1.259, allocations: 399.1 kB / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.259, allocations: 0 / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.259, allocations: 1.438 kB / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.259, allocations: 1.406 kB / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/1.26, allocations: 434.2 kB / 1.324 GB, free: 5.812 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/1.261, allocations: 0.6397 MB / 1.325 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/1.261, allocations: 0.5672 MB / 1.325 GB, free: 5.188 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/1.262, allocations: 340.8 kB / 1.326 GB, free: 5.113 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.263, allocations: 132.6 kB / 1.326 GB, free: 5.066 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/1.263, allocations: 411.4 kB / 1.326 GB, free: 4.922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/1.263, allocations: 0 / 1.326 GB, free: 4.922 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.001737/1.265, allocations: 1.297 MB / 1.327 GB, free: 4.625 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.265, allocations: 83.44 kB / 1.327 GB, free: 4.527 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.267, allocations: 1.291 MB / 1.329 GB, free: 3.789 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/1.267, allocations: 26.86 kB / 1.329 GB, free: 3.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/1.267, allocations: 297.5 kB / 1.329 GB, free: 3.496 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/1.267, allocations: 28.52 kB / 1.329 GB, free: 3.473 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/1.267, allocations: 349.8 kB / 1.329 GB, free: 3.309 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.268, allocations: 317.2 kB / 1.33 GB, free: 2.996 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.269, allocations: 1.378 MB / 1.331 GB, free: 2.414 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/1.271, allocations: 1.504 MB / 1.332 GB, free: 1.738 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008242/1.279, allocations: 3.557 MB / 1.336 GB, free: 15.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.279, allocations: 0 / 1.336 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005436/1.285, allocations: 4.022 MB / 1.34 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.285, allocations: 5.469 kB / 1.34 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/1.285, allocations: 2.188 kB / 1.34 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/1.285, allocations: 1.062 kB / 1.34 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/1.285, allocations: 15.73 kB / 1.34 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.285, allocations: 6.094 kB / 1.34 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/1.286, allocations: 243 kB / 1.34 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/1.286, allocations: 26.89 kB / 1.34 GB, free: 13.19 MB / 1.029 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.0004419/1.286, allocations: 251.7 kB / 1.34 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/1.286, allocations: 88.23 kB / 1.34 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/1.288, allocations: 0.9489 MB / 1.341 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.288, allocations: 2.125 kB / 1.341 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.288, allocations: 4.031 kB / 1.341 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.288, allocations: 1.062 kB / 1.341 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/1.288, allocations: 492.9 kB / 1.342 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.288, allocations: 1.125 kB / 1.342 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-05/1.288, allocations: 12.86 kB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.288, allocations: 1.219 kB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.288, allocations: 5.406 kB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.288, allocations: 1.375 kB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.288, allocations: 1.156 kB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.29, allocations: 1.014 MB / 1.343 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/1.29, allocations: 95.88 kB / 1.343 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/1.29, allocations: 1.406 kB / 1.343 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.29, allocations: 11.48 kB / 1.343 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.29, allocations: 2.188 kB / 1.343 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/1.29, allocations: 19.41 kB / 1.343 GB, free: 12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001111/1.291, allocations: 0.7212 MB / 1.344 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.291, allocations: 0 / 1.344 GB, free: 11.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002668/1.294, allocations: 0.5941 MB / 1.344 GB, free: 11.49 MB / 1.029 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.002297/1.296, allocations: 0.7023 MB / 1.345 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002762/1.299, allocations: 2.003 MB / 1.347 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.299, allocations: 1.062 kB / 1.347 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/1.299, allocations: 337.2 kB / 1.347 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/1.3, allocations: 61.14 kB / 1.347 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/1.303, allocations: 1.897 MB / 1.349 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/1.304, allocations: 0.9902 MB / 1.35 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001971/1.304, allocations: 38.31 kB / 1.35 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.304, allocations: 30.38 kB / 1.35 GB, free: 8.578 MB / 1.029 GB Notification: Performance of SimCode: time 1.022e-06/1.304, allocations: 0 / 1.35 GB, free: 8.578 MB / 1.029 GB Notification: Performance of Templates: time 0.02848/1.332, allocations: 14.45 MB / 1.364 GB, free: 10.6 MB / 1.045 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] 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: 10.988243131898344]