Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001537/0.001537, allocations: 108.4 kB / 16.41 MB, free: 6.395 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.001788/0.001788, allocations: 189.1 kB / 17.34 MB, free: 5.836 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.737, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001765/0.7388, allocations: 0.5755 MB / 1.227 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.7401, allocations: 0.9953 MB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.7402, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.7402, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007598/0.741, allocations: 99.78 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.222e-05/0.741, allocations: 7.938 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.7411, allocations: 7.984 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.7411, allocations: 0 / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.7411, allocations: 7.984 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.7414, allocations: 39.84 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.7414, allocations: 0 / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.7416, allocations: 75.92 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.7416, allocations: 7.922 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.7416, allocations: 0 / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.7418, allocations: 82.16 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7418, allocations: 4 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.846e-06/0.7418, allocations: 3.984 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7418, allocations: 0 / 1.228 GB, free: 11.58 MB / 0.9512 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.0003391/0.7422, allocations: 340 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7422, allocations: 12.03 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.7423, allocations: 4.938 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7424, allocations: 160.4 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.7424, allocations: 384 / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.7424, allocations: 4.375 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/0.7425, allocations: 33.83 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7426, allocations: 0 / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.7426, allocations: 3.984 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.7426, allocations: 0 / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.7426, allocations: 7.938 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.7431, allocations: 464.6 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.7432, allocations: 177.2 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.7432, allocations: 80.14 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.7432, allocations: 75.28 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.7433, allocations: 109.8 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.7433, allocations: 0 / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.287e-05/0.7434, allocations: 25.7 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.7434, allocations: 59.39 kB / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.7435, allocations: 105.8 kB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.7436, allocations: 25.7 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.7436, allocations: 84.08 kB / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.7436, allocations: 0 / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.7436, allocations: 13.72 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7438, allocations: 318.8 kB / 1.23 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.7438, allocations: 0 / 1.23 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-06/0.7438, allocations: 8 kB / 1.23 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.7438, allocations: 16.67 kB / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7438, allocations: 0 / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001031/0.7439, allocations: 33.7 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.744, allocations: 5.406 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.744, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.744, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.911e-05/0.744, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.744, allocations: 3.984 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.7441, allocations: 8.281 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.7441, allocations: 0 / 1.23 GB, free: 9.207 MB / 0.9512 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 9.963e-05/0.7442, allocations: 186.9 kB / 1.231 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.7442, allocations: 112.9 kB / 1.231 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.7443, allocations: 108.1 kB / 1.231 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.7444, allocations: 177.5 kB / 1.231 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/0.7444, allocations: 112.9 kB / 1.231 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.7445, allocations: 182 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.7446, allocations: 184.2 kB / 1.231 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.7447, allocations: 105 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.7447, allocations: 184.2 kB / 1.232 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.458e-05/0.7448, allocations: 263.5 kB / 1.232 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001672/0.745, allocations: 375 kB / 1.232 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.684e-05/0.7451, allocations: 109.2 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.505e-05/0.7451, allocations: 83.27 kB / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of Backend: time 5.72e-07/0.7451, allocations: 0 / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.7458, allocations: 146.3 kB / 1.233 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004724/0.7462, allocations: 0.8269 MB / 1.233 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of Templates: time 0.002938/0.7492, allocations: 0.711 MB / 1.234 GB, free: 5.262 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches