Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005862/0.005862, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001251/0.001251, allocations: 187 kB / 16.67 MB, free: 5.949 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 59.38 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2929, allocations: 140.4 MB / 1.088 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001948/0.2949, allocations: 0.5619 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2963, allocations: 0.9918 MB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.2963, allocations: 0 / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.2964, allocations: 0 / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007662/0.2971, allocations: 87.78 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.437e-05/0.2972, allocations: 15.98 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.2973, allocations: 3.938 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.2973, allocations: 4 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.2973, allocations: 3.938 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.2976, allocations: 29.94 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.2976, allocations: 3.938 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2978, allocations: 87.91 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2978, allocations: 4 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2979, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.298, allocations: 70.36 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.298, allocations: 0 / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2981, allocations: 0 / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2981, allocations: 0 / 1.089 GB, free: 132 kB / 0.8419 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.0003546/0.2984, allocations: 338.4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2985, allocations: 8.031 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.2985, allocations: 30.75 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.2986, allocations: 8.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2987, allocations: 164.4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2987, allocations: 4.312 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2987, allocations: 384 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.2988, allocations: 29.64 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2988, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2989, allocations: 3.984 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2989, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.2989, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.2993, allocations: 472.6 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.2994, allocations: 170.5 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.2995, allocations: 80.14 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.2995, allocations: 75.28 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.2995, allocations: 109.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.2995, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.207e-05/0.2996, allocations: 29.61 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.2997, allocations: 134.6 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.2998, allocations: 101.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2998, allocations: 25.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.2999, allocations: 84.14 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.2999, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.2999, allocations: 13.72 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.3, allocations: 318.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.3, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.3, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.3001, allocations: 8.859 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3001, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001018/0.3002, allocations: 37.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3002, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3002, allocations: 3.984 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3002, allocations: 4 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.666e-05/0.3002, allocations: 3.938 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3003, allocations: 3.984 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.3003, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.3003, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 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 9.095e-05/0.3004, allocations: 193.1 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3004, allocations: 105.2 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.3005, allocations: 112 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.3006, allocations: 176.3 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-05/0.3006, allocations: 184.2 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/0.3007, allocations: 184.2 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3009, allocations: 405.2 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.3009, allocations: 108.9 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.301, allocations: 101 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-05/0.301, allocations: 176.4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.3011, allocations: 188.2 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.632e-05/0.3012, allocations: 184.3 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-05/0.3012, allocations: 192.2 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3014, allocations: 307.7 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.3014, allocations: 178.1 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.3015, allocations: 180.2 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.3016, allocations: 112.9 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3016, allocations: 176.3 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.3017, allocations: 108.9 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.3017, allocations: 83.28 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3017, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002787/0.302, allocations: 24.55 kB / 1.095 GB, free: 10.01 MB / 0.8575 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.0006457/0.3027, allocations: 0.859 MB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.3027, allocations: 4 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3028, allocations: 0 / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.3028, allocations: 11.94 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3031, allocations: 455.7 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.3037, allocations: 230 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3039, allocations: 0.669 MB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.304, allocations: 8 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.304, allocations: 11.42 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.304, allocations: 0 / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.3217, allocations: 1.556 MB / 1.099 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.171, allocations: 12.53 kB / 1.099 GB, free: 6.328 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches