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.001479/0.001479, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001707/0.001707, allocations: 195.5 kB / 16.26 MB, free: 6.621 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.532/2.532, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 55.91 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6472, allocations: 140.4 MB / 0.9493 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001574/0.6489, allocations: 0.6197 MB / 0.9499 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.6498, allocations: 0.99 MB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.6498, allocations: 1.125 kB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.6498, allocations: 4 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.6504, allocations: 85.78 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.069e-05/0.6505, allocations: 16.03 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.785e-05/0.6505, allocations: 7.203 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.6506, allocations: 1.781 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.6506, allocations: 2.562 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.6508, allocations: 31.84 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.138e-06/0.6508, allocations: 1.688 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.651, allocations: 80.22 kB / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.946e-06/0.651, allocations: 3.938 kB / 0.9511 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.651, allocations: 5.344 kB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.6511, allocations: 64.05 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6512, allocations: 1.312 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6512, allocations: 0 / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6512, allocations: 3.938 kB / 0.9511 GB, free: 7.664 MB / 0.7169 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.0002263/0.6514, allocations: 334.8 kB / 0.9515 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6514, allocations: 17.59 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.103e-05/0.6515, allocations: 30.75 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.6515, allocations: 2.438 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/0.6516, allocations: 170 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.6516, allocations: 384 / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.6516, allocations: 384 / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.626e-05/0.6517, allocations: 32.3 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.6517, allocations: 0 / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.6517, allocations: 0 / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.6517, allocations: 1.344 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.6517, allocations: 5.344 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.652, allocations: 474.5 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.096e-05/0.652, allocations: 167.1 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.6521, allocations: 80.14 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.6521, allocations: 75.28 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.6521, allocations: 111.3 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6521, allocations: 0 / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.632e-05/0.6522, allocations: 31.05 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.6522, allocations: 130.7 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.327e-05/0.6523, allocations: 99.38 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-06/0.6523, allocations: 25.7 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.6523, allocations: 81.52 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.6523, allocations: 0 / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.6523, allocations: 20.53 kB / 0.9529 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.6524, allocations: 314.8 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.6524, allocations: 1.406 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.6524, allocations: 5.359 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.6524, allocations: 7.672 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6524, allocations: 0 / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.884e-05/0.6525, allocations: 43.17 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6526, allocations: 4.469 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.6526, allocations: 5.562 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6526, allocations: 0 / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.6526, allocations: 0 / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6526, allocations: 1.031 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.6526, allocations: 0 / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.6526, allocations: 5.281 kB / 0.9533 GB, free: 5.246 MB / 0.7169 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 5.139e-05/0.6527, allocations: 194.3 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.6527, allocations: 106.3 kB / 0.9536 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.6528, allocations: 113.2 kB / 0.9537 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.6528, allocations: 177.6 kB / 0.9539 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/0.6528, allocations: 189.3 kB / 0.9541 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.6529, allocations: 188.2 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.653, allocations: 407.6 kB / 0.9546 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.653, allocations: 106.3 kB / 0.9547 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.653, allocations: 110.7 kB / 0.9548 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/0.6531, allocations: 184.2 kB / 0.955 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.6531, allocations: 177.2 kB / 0.9552 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.169e-05/0.6531, allocations: 181.3 kB / 0.9554 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.088e-05/0.6531, allocations: 177.4 kB / 0.9555 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.724e-05/0.6532, allocations: 314.8 kB / 0.9558 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.6532, allocations: 179.6 kB / 0.956 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.6533, allocations: 181.4 kB / 0.9562 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.6533, allocations: 106.3 kB / 0.9563 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.6534, allocations: 181.4 kB / 0.9564 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6534, allocations: 110 kB / 0.9565 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.6534, allocations: 79.25 kB / 0.9566 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6534, allocations: 0 / 0.9566 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002463/0.6537, allocations: 22.61 kB / 0.9566 GB, free: 1.652 MB / 0.7169 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.000394/0.6541, allocations: 0.8565 MB / 0.9575 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.6541, allocations: 6.781 kB / 0.9575 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6541, allocations: 0 / 0.9575 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.6541, allocations: 1.438 kB / 0.9575 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.6544, allocations: 463 kB / 0.9579 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.6548, allocations: 242 kB / 0.9582 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.655, allocations: 0.675 MB / 0.9588 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.6551, allocations: 5.25 kB / 0.9588 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.6551, allocations: 9.844 kB / 0.9588 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6551, allocations: 0 / 0.9588 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.734/1.389, allocations: 1.438 MB / 0.9602 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/1.389, allocations: 322.4 kB / 0.9605 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/3.179, allocations: 1.5 kB / 0.9605 GB, free: 14.34 MB / 0.7325 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