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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009736/0.0009735, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005522/0.005523, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 15.98 kB / 0.873 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5357, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006228/0.5363, allocations: 308.7 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.5374, allocations: 1.007 MB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.052e-05/0.5374, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.5375, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.538, allocations: 79.84 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.918e-05/0.5381, allocations: 19.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.306e-05/0.5381, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.5382, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.5382, allocations: 11.98 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.5384, allocations: 31.91 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.5384, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.5386, allocations: 83.91 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.5386, allocations: 7.984 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.5386, allocations: 29.69 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.5387, allocations: 78.09 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5388, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5388, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5388, allocations: 3.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 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.0002592/0.539, allocations: 331.5 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.5391, allocations: 8.031 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.5391, allocations: 30.75 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.689e-05/0.5391, allocations: 0.9375 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5392, allocations: 168.4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.5393, allocations: 4.359 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.5393, allocations: 384 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.833e-05/0.5393, allocations: 33.64 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.5393, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.5394, allocations: 4 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-06/0.5394, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.5394, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.5397, allocations: 468.6 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.5398, allocations: 169.1 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.5398, allocations: 80.14 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.5398, allocations: 75.28 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5399, allocations: 113.8 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.5399, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.204e-05/0.5399, allocations: 33.64 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.54, allocations: 130.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.5401, allocations: 97.86 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.5401, allocations: 25.7 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.5401, allocations: 92.06 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.5401, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.5401, allocations: 9.719 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.5402, allocations: 318.8 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.5402, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.5403, allocations: 8 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/0.5403, allocations: 8.797 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5403, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.651e-05/0.5404, allocations: 37.61 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5404, allocations: 13.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5404, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.5404, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.103e-05/0.5404, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.5404, allocations: 96 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.5404, allocations: 8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.5404, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.7794 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 7.229e-05/0.5405, allocations: 190.9 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.5406, allocations: 104.9 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.5406, allocations: 112.1 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.5407, allocations: 176.3 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.683e-05/0.5407, allocations: 188.2 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/0.5408, allocations: 176.3 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.541, allocations: 413.1 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.541, allocations: 101 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.5411, allocations: 101.1 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.382e-05/0.5411, allocations: 188.2 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.5412, allocations: 184.3 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-05/0.5412, allocations: 184.2 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-05/0.5413, allocations: 176.3 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.5414, allocations: 311.7 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.5415, allocations: 186.1 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.5415, allocations: 180.2 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.5416, allocations: 101 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.5417, allocations: 184.2 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.5417, allocations: 105.2 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.579e-05/0.5417, allocations: 91.27 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5417, allocations: 3.938 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002359/0.542, allocations: 20 kB / 1.03 GB, free: 8.027 MB / 0.7794 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.000512/0.5425, allocations: 0.8667 MB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.053e-05/0.5426, allocations: 4 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5426, allocations: 0 / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.5426, allocations: 3.938 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5429, allocations: 0.5225 MB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.5433, allocations: 237.3 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.5435, allocations: 0.6731 MB / 1.033 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.5436, allocations: 3.906 kB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.5436, allocations: 12.38 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5436, allocations: 0 / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.088/2.632, allocations: 1.338 MB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/2.632, allocations: 329.2 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/4.306, allocations: 6.578 kB / 1.034 GB, free: 4.121 MB / 0.7794 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=50 --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