Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_11_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_11_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.001674/0.001674, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 187.4 kB / 16.66 MB, free: 6.59 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.925/2.925, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3067, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001673/0.3084, allocations: 0.5797 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3097, allocations: 1.001 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.3097, allocations: 4 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.3098, allocations: 3.938 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.3104, allocations: 91.78 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.277e-05/0.3104, allocations: 15.97 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.746e-05/0.3105, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.3105, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.3105, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3107, allocations: 39.83 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.3107, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3109, allocations: 91.91 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.3109, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.3109, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3111, allocations: 79.78 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3111, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3111, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.3111, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 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.0004687/0.3116, allocations: 331.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3116, allocations: 12.03 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.3117, allocations: 34.75 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.801e-05/0.3117, allocations: 4.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3118, allocations: 176.3 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3118, allocations: 384 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.3119, allocations: 384 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.3119, allocations: 33.58 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3119, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.312, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.312, allocations: 4 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.357e-05/0.312, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3124, allocations: 468.6 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.3125, allocations: 169.1 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3126, allocations: 80.14 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3126, allocations: 79.28 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.3127, allocations: 113.8 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3127, allocations: 3.938 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.252e-05/0.3127, allocations: 29.7 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3128, allocations: 126.7 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.3129, allocations: 105.8 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3129, allocations: 25.7 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.313, allocations: 88.06 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.313, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.313, allocations: 13.72 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3132, allocations: 314.8 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.3132, allocations: 4 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.3132, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.3132, allocations: 12.8 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3132, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.592e-05/0.3133, allocations: 33.78 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3133, allocations: 8 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3133, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.3133, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.307e-05/0.3134, allocations: 7.938 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3134, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.3134, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.3134, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 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.0001007/0.3135, allocations: 185.1 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.3136, allocations: 109 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.3136, allocations: 112.1 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.042e-05/0.3137, allocations: 180.2 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-05/0.3138, allocations: 184.3 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.13e-05/0.3139, allocations: 180.3 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.3141, allocations: 413.2 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.494e-05/0.3142, allocations: 105 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.3143, allocations: 104.9 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.3144, allocations: 176.3 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.3145, allocations: 184.2 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.976e-05/0.3146, allocations: 184.3 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.321e-05/0.3147, allocations: 188.2 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.3148, allocations: 299.8 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.315, allocations: 186 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3151, allocations: 180.3 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.3152, allocations: 108.9 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.3153, allocations: 180.3 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.3154, allocations: 101 kB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.3154, allocations: 83.27 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3154, allocations: 0 / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002645/0.3157, allocations: 27.88 kB / 1.228 GB, free: 6.215 MB / 0.9825 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.0006657/0.3164, allocations: 0.8773 MB / 1.228 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.09e-05/0.3164, allocations: 7.984 kB / 1.228 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3164, allocations: 0 / 1.228 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/0.3165, allocations: 4.062 kB / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3168, allocations: 459.6 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.3174, allocations: 230.8 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3178, allocations: 0.6729 MB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.3178, allocations: 8 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.3178, allocations: 7.438 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3178, allocations: 0 / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/0.4851, allocations: 1.569 MB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.901/9.387, allocations: 16.53 kB / 1.231 GB, free: 2.496 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches