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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001239/0.001239, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.6886, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001745/0.6904, allocations: 0.6212 MB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.6915, allocations: 1.006 MB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.6915, allocations: 0 / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.6915, allocations: 0 / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005833/0.6921, allocations: 83.38 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.703e-05/0.6921, allocations: 6.75 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.6922, allocations: 8.109 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.6922, allocations: 1.375 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.6922, allocations: 1.375 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.6925, allocations: 29.84 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.6925, allocations: 0 / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.6926, allocations: 90.34 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.6927, allocations: 1.375 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.6927, allocations: 5.312 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.6928, allocations: 67.53 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6928, allocations: 1.375 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.021e-06/0.6928, allocations: 0 / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.6929, allocations: 0 / 0.951 GB, free: 7.668 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.0002387/0.6931, allocations: 338 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6931, allocations: 9.625 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.12e-05/0.6932, allocations: 38.69 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.6932, allocations: 2.312 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.6933, allocations: 165.8 kB / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.6933, allocations: 1.75 kB / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-06/0.6933, allocations: 384 / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.669e-05/0.6934, allocations: 40.33 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.6934, allocations: 0 / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.6934, allocations: 0 / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6934, allocations: 0 / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.6934, allocations: 6.688 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.6937, allocations: 470 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.6938, allocations: 170.5 kB / 0.9521 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.6938, allocations: 84.14 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.6938, allocations: 76.66 kB / 0.9523 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.6938, allocations: 109.8 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.6938, allocations: 0 / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.612e-05/0.6939, allocations: 31.08 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.6939, allocations: 128.1 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.694, allocations: 99.34 kB / 0.9526 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-06/0.694, allocations: 25.7 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.694, allocations: 84.14 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.694, allocations: 5.375 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.6941, allocations: 11.09 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.6941, allocations: 320.1 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.6941, allocations: 1.375 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.6941, allocations: 5.359 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.858e-05/0.6942, allocations: 6.234 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6942, allocations: 0 / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.12e-05/0.6942, allocations: 44.55 kB / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6943, allocations: 4.125 kB / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.6943, allocations: 1.375 kB / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.6943, allocations: 0 / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.146e-05/0.6943, allocations: 0 / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6943, allocations: 1.375 kB / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.6943, allocations: 3.938 kB / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.6943, allocations: 1.375 kB / 0.9531 GB, free: 5.242 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 4.587e-05/0.6944, allocations: 202.3 kB / 0.9533 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.6944, allocations: 102.4 kB / 0.9534 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.6945, allocations: 109.5 kB / 0.9535 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.6945, allocations: 184.2 kB / 0.9537 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/0.6945, allocations: 185.6 kB / 0.9539 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.6945, allocations: 185.6 kB / 0.9541 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.6947, allocations: 402.5 kB / 0.9545 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6947, allocations: 106.4 kB / 0.9546 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.6947, allocations: 110.3 kB / 0.9547 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/0.6947, allocations: 176.4 kB / 0.9548 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.6948, allocations: 185.6 kB / 0.955 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.838e-05/0.6948, allocations: 177.6 kB / 0.9552 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.163e-05/0.6948, allocations: 181.6 kB / 0.9553 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.819e-05/0.6949, allocations: 310.4 kB / 0.9556 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.6949, allocations: 183.4 kB / 0.9558 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.6949, allocations: 181.6 kB / 0.956 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.695, allocations: 110.3 kB / 0.9561 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.695, allocations: 184.2 kB / 0.9563 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.695, allocations: 102.4 kB / 0.9564 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.6951, allocations: 78.84 kB / 0.9564 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6951, allocations: 0 / 0.9564 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002539/0.6953, allocations: 23.77 kB / 0.9565 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.0004222/0.6958, allocations: 0.8691 MB / 0.9573 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.273e-05/0.6958, allocations: 6.688 kB / 0.9573 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6958, allocations: 4.062 kB / 0.9573 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.6958, allocations: 1.5 kB / 0.9573 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.6961, allocations: 0.5219 MB / 0.9578 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.6965, allocations: 235.7 kB / 0.9581 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6968, allocations: 0.6744 MB / 0.9587 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.6968, allocations: 2.438 kB / 0.9587 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.6968, allocations: 8.844 kB / 0.9587 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6968, allocations: 0 / 0.9587 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.7113, allocations: 1.407 MB / 0.9601 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.7115, allocations: 323.5 kB / 0.9604 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.482, allocations: 2.062 kB / 0.9604 GB, free: 14.27 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