Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 116.8 kB / 16.81 MB, free: 5.77 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.001966/0.001966, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.482/1.482, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.71/2.71, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 65.36 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3045, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001715/0.3063, allocations: 0.568 MB / 1.263 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3076, allocations: 0.9957 MB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.3076, allocations: 0 / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.3076, allocations: 3.938 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.3083, allocations: 91.78 kB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.705e-05/0.3084, allocations: 11.92 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.398e-05/0.3084, allocations: 11.94 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.3084, allocations: 0 / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.3085, allocations: 8 kB / 1.264 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3086, allocations: 31.97 kB / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.3087, allocations: 0 / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.3089, allocations: 87.91 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.3089, allocations: 3.984 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.3089, allocations: 7.875 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.3091, allocations: 71.84 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3091, allocations: 0 / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3091, allocations: 0 / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3091, allocations: 0 / 1.264 GB, free: 11.02 MB / 0.9825 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.0003877/0.3095, allocations: 343.3 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3095, allocations: 12.03 kB / 1.264 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.3095, allocations: 4.938 kB / 1.264 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3097, allocations: 164.4 kB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.3097, allocations: 384 / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3097, allocations: 4.375 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/0.3098, allocations: 33.62 kB / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.3098, allocations: 0 / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.3098, allocations: 0 / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3098, allocations: 4 kB / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.3098, allocations: 11.94 kB / 1.265 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3103, allocations: 468.5 kB / 1.265 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.3103, allocations: 169.2 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.3104, allocations: 80.14 kB / 1.265 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.3104, allocations: 79.28 kB / 1.265 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.3105, allocations: 105.8 kB / 1.265 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3105, allocations: 3.938 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.051e-05/0.3105, allocations: 25.7 kB / 1.265 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3106, allocations: 59.41 kB / 1.265 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3107, allocations: 97.84 kB / 1.266 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3107, allocations: 25.7 kB / 1.266 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.3108, allocations: 88.09 kB / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3108, allocations: 0 / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3108, allocations: 17.72 kB / 1.266 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3109, allocations: 314.8 kB / 1.266 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.3109, allocations: 0 / 1.266 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.3109, allocations: 4 kB / 1.266 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.311, allocations: 12.73 kB / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.311, allocations: 4.062 kB / 1.266 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001009/0.3111, allocations: 41.69 kB / 1.266 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3111, allocations: 4 kB / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.3111, allocations: 0 / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3111, allocations: 0 / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-05/0.3111, allocations: 0 / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3111, allocations: 3.984 kB / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.3111, allocations: 4 kB / 1.266 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3111, allocations: 0 / 1.266 GB, free: 8.637 MB / 0.9825 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.0001183/0.3113, allocations: 189.9 kB / 1.266 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.3113, allocations: 112.9 kB / 1.266 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.3114, allocations: 105.2 kB / 1.266 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.481e-05/0.3115, allocations: 176.3 kB / 1.267 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.485e-05/0.3115, allocations: 108.9 kB / 1.267 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.3116, allocations: 182.1 kB / 1.267 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.3117, allocations: 188.2 kB / 1.267 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.3118, allocations: 104.9 kB / 1.267 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.3119, allocations: 176.3 kB / 1.267 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001184/0.312, allocations: 259.5 kB / 1.268 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002188/0.3122, allocations: 399.2 kB / 1.268 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.114e-05/0.3123, allocations: 101 kB / 1.268 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.3123, allocations: 83.28 kB / 1.268 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of Backend: time 4.31e-07/0.3123, allocations: 0 / 1.268 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006222/0.313, allocations: 153.7 kB / 1.268 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006016/0.3136, allocations: 0.8348 MB / 1.269 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of Templates: time 0.003279/0.3168, allocations: 0.7189 MB / 1.27 GB, free: 4.672 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches