Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004719/0.004719, allocations: 95.28 kB / 15.73 MB, free: 6.051 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.001414/0.001414, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437.1 MB / 0.7106 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 64.09 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002043/0.3139, allocations: 0.5742 MB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3154, allocations: 0.9996 MB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.3154, allocations: 0 / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.3154, allocations: 8 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.3163, allocations: 99.77 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.195e-05/0.3163, allocations: 11.94 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.449e-05/0.3164, allocations: 7.922 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.3164, allocations: 7.984 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.3164, allocations: 0 / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.3167, allocations: 31.97 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.3167, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.3169, allocations: 83.86 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.3169, allocations: 0 / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.3169, allocations: 7.938 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3171, allocations: 72.12 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 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.000361/0.3175, allocations: 339.3 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3175, allocations: 12.03 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.3176, allocations: 30.75 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.3176, allocations: 4.922 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3178, allocations: 164.4 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3178, allocations: 384 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3178, allocations: 4.375 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.3179, allocations: 37.58 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3179, allocations: 0 / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3179, allocations: 0 / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3179, allocations: 3.938 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.724e-05/0.3179, allocations: 4 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.3184, allocations: 468.5 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.3185, allocations: 169.2 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.3185, allocations: 84.08 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3186, allocations: 75.28 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.3186, allocations: 109.8 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 3.226e-06/0.3186, allocations: 3.984 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.116e-05/0.3187, allocations: 29.7 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.3188, allocations: 130.7 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3189, allocations: 97.84 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.319, allocations: 25.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.3191, allocations: 92.03 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.3191, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.3192, allocations: 17.72 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3193, allocations: 314.8 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.3193, allocations: 3.984 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.3194, allocations: 7.938 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.3194, allocations: 4.859 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3194, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.66e-05/0.3195, allocations: 37.7 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3195, allocations: 4 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3195, allocations: 4.094 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.3195, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/0.3196, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3196, allocations: 4 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.3196, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3196, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 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.0001094/0.3197, allocations: 193 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.3198, allocations: 105 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.3198, allocations: 108.1 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-05/0.3199, allocations: 184.2 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-05/0.32, allocations: 176.3 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.27e-05/0.3201, allocations: 188.2 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3204, allocations: 397.2 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-05/0.3204, allocations: 117 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.3205, allocations: 112.9 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-05/0.3206, allocations: 180.5 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.3207, allocations: 180.2 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.164e-05/0.3207, allocations: 180.3 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.843e-05/0.3208, allocations: 180.3 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.321, allocations: 315.7 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3211, allocations: 182 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.3212, allocations: 176.3 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.3213, allocations: 105 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.3214, allocations: 192.2 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.3215, allocations: 101 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.3215, allocations: 79.28 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3215, allocations: 0 / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002578/0.3218, allocations: 23.92 kB / 1.174 GB, free: 15.21 MB / 0.9356 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.0008156/0.3226, allocations: 0.8662 MB / 1.174 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.583e-05/0.3227, allocations: 8 kB / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3227, allocations: 0 / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3227, allocations: 0 / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3231, allocations: 455.8 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.3236, allocations: 247.9 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3239, allocations: 0.669 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.3239, allocations: 4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.324, allocations: 15.42 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.324, allocations: 0 / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9342/1.258, allocations: 1.562 MB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.29, allocations: 11.17 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches