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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001118/0.001118, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001078/0.001078, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.34/1.34, 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 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.91 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7445, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001725/0.7462, allocations: 0.5719 MB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.7476, allocations: 1.003 MB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.7476, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.7477, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.7484, allocations: 95.78 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.115e-05/0.7485, allocations: 11.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.7485, allocations: 11.97 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.7486, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.7486, allocations: 4 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.7488, allocations: 39.91 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.7489, allocations: 0 / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.7491, allocations: 79.91 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.7491, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.7491, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.7493, allocations: 83.78 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7493, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7493, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.7493, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 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.0003711/0.7497, allocations: 331.2 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7498, allocations: 16.03 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.7498, allocations: 0.9375 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.7499, allocations: 168.3 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.75, allocations: 384 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.75, allocations: 384 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.7501, allocations: 37.81 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.7501, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7501, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.7501, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.7502, allocations: 4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.7507, allocations: 472.5 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.7508, allocations: 173.1 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.7509, allocations: 84.14 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.7509, allocations: 75.28 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.751, allocations: 109.8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.751, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.641e-05/0.7511, allocations: 33.62 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.7511, allocations: 51.41 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.7512, allocations: 105.8 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.7513, allocations: 25.7 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.7513, allocations: 80.14 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.7513, allocations: 4 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.7514, allocations: 13.72 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7515, allocations: 314.8 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.7515, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.7515, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.7516, allocations: 16.8 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7516, allocations: 3.938 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001327/0.7517, allocations: 41.7 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7517, allocations: 4 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7518, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7518, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.7518, allocations: 3.984 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.7518, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.7518, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.7518, allocations: 4 kB / 1.212 GB, free: 9.301 MB / 0.9356 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.0001036/0.752, allocations: 185.1 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.752, allocations: 109 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.7521, allocations: 116 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-05/0.7522, allocations: 180.2 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.7522, allocations: 101 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.7523, allocations: 182 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.7524, allocations: 180.3 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.7525, allocations: 108.9 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.7526, allocations: 188.2 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001025/0.7527, allocations: 255.5 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000176/0.7529, allocations: 379 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.318e-05/0.753, allocations: 117.2 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.753, allocations: 83.27 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of Backend: time 2.91e-07/0.753, allocations: 0 / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005917/0.7536, allocations: 140.5 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004602/0.7541, allocations: 0.835 MB / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.003013/0.7571, allocations: 0.7123 MB / 1.216 GB, free: 5.352 MB / 0.9356 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