Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001228/0.001228, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001749/0.001749, allocations: 218.1 kB / 23.04 MB, free: 5.078 MB / 14.72 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.977/2.977, allocations: 0.49 GB / 0.7959 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 69.06 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3305, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001736/0.3322, allocations: 0.5925 MB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3335, allocations: 1.027 MB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.3335, allocations: 0 / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.3335, allocations: 3.938 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.3342, allocations: 91.77 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.125e-05/0.3342, allocations: 8 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.3343, allocations: 4 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3343, allocations: 11.98 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.3343, allocations: 7.875 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.3346, allocations: 40.19 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.3346, allocations: 4 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3347, allocations: 79.91 kB / 1.329 GB, free: 108 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.3348, allocations: 4 kB / 1.329 GB, free: 104 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.3348, allocations: 3.984 kB / 1.329 GB, free: 100 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3349, allocations: 71.78 kB / 1.329 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3349, allocations: 4 kB / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3349, allocations: 0 / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3349, allocations: 0 / 1.329 GB, free: 24 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003665/0.3353, allocations: 258.3 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3353, allocations: 8.031 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.344e-05/0.3354, allocations: 4.188 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.3354, allocations: 30.75 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.3354, allocations: 4.891 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3355, allocations: 110.5 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3355, allocations: 4.312 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3355, allocations: 8.125 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.3356, allocations: 29.7 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3356, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3356, allocations: 4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3356, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.3357, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.3361, allocations: 358.6 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.3361, allocations: 177.1 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.3362, allocations: 80.14 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3362, allocations: 75.28 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.3363, allocations: 117.8 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3363, allocations: 0 / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.666e-05/0.3363, allocations: 25.7 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3364, allocations: 130.6 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.3365, allocations: 109.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3365, allocations: 29.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.3366, allocations: 84.08 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3366, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.3366, allocations: 9.719 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3367, allocations: 318.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.3367, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-06/0.3367, allocations: 4 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.3368, allocations: 12.86 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3368, allocations: 0 / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.308e-05/0.3369, allocations: 37.83 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3369, allocations: 11.94 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3369, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3369, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.709e-05/0.3369, allocations: 3.984 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3369, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.3369, allocations: 4.094 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3369, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001012/0.337, allocations: 189.6 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.3371, allocations: 101 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.3372, allocations: 116.1 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.1e-05/0.3372, allocations: 184.3 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.621e-05/0.3373, allocations: 180.3 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.642e-05/0.3374, allocations: 180.2 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.3376, allocations: 380.2 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/0.3377, allocations: 104.9 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.3377, allocations: 101 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.146e-05/0.3378, allocations: 176.3 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.3379, allocations: 192.4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-05/0.3379, allocations: 180.3 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.369e-05/0.338, allocations: 184.2 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3382, allocations: 303.8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3382, allocations: 112.9 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.3383, allocations: 180.3 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.3384, allocations: 104.9 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.3385, allocations: 180.3 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.3385, allocations: 112.9 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.3386, allocations: 83.22 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3386, allocations: 4 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000261/0.3388, allocations: 23.88 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0007219/0.3395, allocations: 0.8692 MB / 1.335 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.3396, allocations: 4 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3396, allocations: 0 / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.3396, allocations: 3.938 kB / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.34, allocations: 451.7 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.3405, allocations: 241.8 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3408, allocations: 0.6805 MB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3408, allocations: 0 / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.3408, allocations: 7.438 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3408, allocations: 4 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.3614, allocations: 1.671 MB / 1.338 GB, free: 6.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.77, allocations: 7.406 kB / 1.338 GB, free: 6.496 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: 17.067607949022204]