Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006811/0.006812, allocations: 99.58 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 193 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 65.42 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3047, allocations: 162.3 MB / 1.242 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001596/0.3063, allocations: 0.564 MB / 1.242 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3075, allocations: 1.011 MB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.3075, allocations: 0 / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.024e-05/0.3076, allocations: 0 / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.3082, allocations: 91.78 kB / 1.244 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.078e-05/0.3082, allocations: 19.92 kB / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.759e-05/0.3082, allocations: 4 kB / 1.244 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.3083, allocations: 4 kB / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.309e-05/0.3083, allocations: 0 / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3085, allocations: 39.5 kB / 1.244 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.3085, allocations: 0 / 1.244 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.3087, allocations: 83.91 kB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.3087, allocations: 4 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.3087, allocations: 3.938 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3088, allocations: 68.12 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3089, allocations: 12 kB / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.3089, allocations: 3.938 kB / 1.244 GB, free: 6.961 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002981/0.3092, allocations: 335.3 kB / 1.244 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3092, allocations: 8.031 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.3092, allocations: 30.75 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.875e-05/0.3093, allocations: 4.938 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3094, allocations: 172.3 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3094, allocations: 4.375 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3094, allocations: 4.375 kB / 1.244 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.3095, allocations: 33.64 kB / 1.244 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.3095, allocations: 0 / 1.244 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.3095, allocations: 3.984 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3095, allocations: 0 / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.3096, allocations: 4 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.3099, allocations: 464.5 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.31, allocations: 169.1 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.31, allocations: 84.17 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3101, allocations: 75.28 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.3101, allocations: 113.8 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3101, allocations: 0 / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 5.985e-05/0.3102, allocations: 33.64 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3103, allocations: 126.7 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.3103, allocations: 101.9 kB / 1.245 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3104, allocations: 25.7 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.3104, allocations: 88.08 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.3104, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.3104, allocations: 17.66 kB / 1.246 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3106, allocations: 314.8 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-06/0.3106, allocations: 4 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.3106, allocations: 0 / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.3106, allocations: 12.86 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3106, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.234e-05/0.3107, allocations: 41.62 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.3107, allocations: 4 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3107, allocations: 4 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3107, allocations: 0 / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.034e-05/0.3108, allocations: 4.094 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3108, allocations: 0 / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.3108, allocations: 0 / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.3108, allocations: 4 kB / 1.246 GB, free: 4.465 MB / 0.9669 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 8.583e-05/0.3109, allocations: 185.1 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.311, allocations: 104.9 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.311, allocations: 120 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-05/0.3111, allocations: 180.3 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.609e-05/0.3112, allocations: 180.2 kB / 1.247 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.235e-05/0.3112, allocations: 176.3 kB / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3115, allocations: 413.1 kB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/0.3115, allocations: 101 kB / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.3116, allocations: 101 kB / 1.247 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.957e-05/0.3116, allocations: 192.4 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.3117, allocations: 180.2 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-05/0.3118, allocations: 184.2 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.267e-05/0.3118, allocations: 176.3 kB / 1.248 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.312, allocations: 311.7 kB / 1.248 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.3121, allocations: 186.1 kB / 1.249 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.3121, allocations: 180.2 kB / 1.249 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.3122, allocations: 105 kB / 1.249 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.3123, allocations: 176.3 kB / 1.249 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.3124, allocations: 112.9 kB / 1.249 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.3124, allocations: 83.27 kB / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3124, allocations: 0 / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002465/0.3127, allocations: 15.94 kB / 1.249 GB, free: 0.8555 MB / 0.9669 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.0005915/0.3133, allocations: 0.8701 MB / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.623e-05/0.3133, allocations: 7.875 kB / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3133, allocations: 0 / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3133, allocations: 4 kB / 1.25 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3137, allocations: 459.2 kB / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.3141, allocations: 237.6 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3144, allocations: 0.6768 MB / 1.251 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.3144, allocations: 0 / 1.251 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.3144, allocations: 15.38 kB / 1.251 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3144, allocations: 0 / 1.251 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.683/1.997, allocations: 1.559 MB / 1.253 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/18.53, allocations: 24.48 kB / 1.253 GB, free: 13.14 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches