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.006924/0.006925, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001604/0.001604, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.46/2.46, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.41 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 140.4 MB / 1.088 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001645/0.2731, allocations: 0.5633 MB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2743, allocations: 0.9918 MB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.2743, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2744, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007615/0.2751, allocations: 87.8 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.442e-05/0.2752, allocations: 15.92 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.567e-05/0.2752, allocations: 7.984 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.2753, allocations: 4 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.2753, allocations: 7.875 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.2755, allocations: 31.97 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.2755, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2757, allocations: 75.92 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.2757, allocations: 0 / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.2757, allocations: 3.938 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2759, allocations: 79.84 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2759, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2759, allocations: 4 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.2759, allocations: 0 / 1.089 GB, free: 52 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.000317/0.2762, allocations: 326.4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2763, allocations: 8.031 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.2763, allocations: 30.75 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.2763, allocations: 0.9375 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2765, allocations: 172.4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2765, allocations: 4.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-06/0.2765, allocations: 384 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/0.2766, allocations: 37.64 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2766, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.2766, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2766, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.2766, allocations: 3.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.277, allocations: 468.6 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.2771, allocations: 170.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.2771, allocations: 84.14 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2771, allocations: 75.28 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.2772, allocations: 113.8 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.224e-06/0.2772, allocations: 3.984 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.501e-05/0.2773, allocations: 33.61 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.2773, allocations: 126.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.2774, allocations: 101.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2774, allocations: 33.64 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.2775, allocations: 80.14 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.2775, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.2775, allocations: 9.719 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.2776, allocations: 322.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.2776, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.2776, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.2777, allocations: 12.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2777, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.222e-05/0.2778, allocations: 33.69 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2778, allocations: 8 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2778, allocations: 3.938 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/0.2779, allocations: 4.094 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.2779, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.2779, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.278, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.278, allocations: 0 / 1.092 GB, free: 13.57 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 8.043e-05/0.2781, allocations: 189.1 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.2782, allocations: 112.9 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.2782, allocations: 104.1 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.2783, allocations: 188.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-05/0.2783, allocations: 176.3 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/0.2784, allocations: 176.3 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2786, allocations: 413.1 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/0.2786, allocations: 101 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.2787, allocations: 108.9 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.891e-05/0.2787, allocations: 180.4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.2788, allocations: 184.3 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.576e-05/0.2788, allocations: 184.2 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.575e-05/0.2789, allocations: 180.3 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.279, allocations: 311.7 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.2791, allocations: 178.1 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.2792, allocations: 188.2 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.2792, allocations: 105 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.2793, allocations: 184.2 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.2793, allocations: 105 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.2794, allocations: 83.22 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2794, allocations: 0 / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002589/0.2797, allocations: 24.56 kB / 1.095 GB, free: 9.949 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.0005818/0.2803, allocations: 0.8719 MB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.142e-05/0.2803, allocations: 7.938 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2803, allocations: 0 / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.2803, allocations: 0 / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2807, allocations: 455.8 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.2814, allocations: 233.9 kB / 1.096 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2816, allocations: 0.6768 MB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.2817, allocations: 0 / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.2817, allocations: 7.438 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2817, allocations: 4 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.2997, allocations: 1.545 MB / 1.099 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.185, allocations: 20.97 kB / 1.099 GB, free: 6.266 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