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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_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_9_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.004373/0.004373, allocations: 102.7 kB / 15.74 MB, free: 6.449 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.001068/0.001068, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.273 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.373/2.373, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 64.66 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001731/0.2617, allocations: 0.5573 MB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2629, allocations: 0.9957 MB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.2629, allocations: 0 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.263, allocations: 0 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.2636, allocations: 83.8 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.35e-05/0.2637, allocations: 11.92 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.2637, allocations: 7.984 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.2638, allocations: 8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.2638, allocations: 7.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.264, allocations: 27.97 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.264, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.2642, allocations: 75.86 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.2642, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.2643, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.2644, allocations: 77.78 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2644, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2645, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2645, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 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.0003113/0.2648, allocations: 327.4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2648, allocations: 12.03 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.2649, allocations: 4.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.265, allocations: 172.3 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.265, allocations: 384 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.265, allocations: 4.375 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.2651, allocations: 33.81 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2651, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.2651, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2651, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.2651, allocations: 4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.2655, allocations: 472.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.2656, allocations: 170.6 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.2656, allocations: 84.12 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.2657, allocations: 83.22 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.2657, allocations: 109.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.2657, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.477e-05/0.2658, allocations: 25.7 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.2659, allocations: 130.7 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.266, allocations: 101.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.266, allocations: 25.7 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.266, allocations: 84.08 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.266, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.2661, allocations: 17.72 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.2662, allocations: 314.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.2662, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.2662, allocations: 7.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.2662, allocations: 8.859 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2662, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.955e-05/0.2663, allocations: 41.69 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2664, allocations: 8.094 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2664, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2664, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.574e-05/0.2664, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.2664, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.2664, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.2664, allocations: 0 / 1.092 GB, free: 13.13 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 9.082e-05/0.2665, allocations: 185.1 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.2666, allocations: 108.9 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.2666, allocations: 116.1 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.229e-05/0.2667, allocations: 180.2 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.496e-05/0.2668, allocations: 176.3 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.894e-05/0.2668, allocations: 176.3 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.2671, allocations: 413.1 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/0.2671, allocations: 105 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.2671, allocations: 104.9 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.026e-05/0.2672, allocations: 180.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.2673, allocations: 184.3 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-05/0.2673, allocations: 184.2 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-05/0.2674, allocations: 184.3 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2675, allocations: 311.6 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.2676, allocations: 186 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.2677, allocations: 180.3 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.2678, allocations: 104.9 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.2678, allocations: 184.2 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.2679, allocations: 109 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.2679, allocations: 79.47 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2679, allocations: 3.938 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002507/0.2682, allocations: 19.94 kB / 1.095 GB, free: 9.508 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.0003628/0.2686, allocations: 238.5 kB / 1.095 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.933e-05/0.2686, allocations: 3.938 kB / 1.095 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2686, allocations: 0 / 1.095 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.2686, allocations: 4 kB / 1.095 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.269, allocations: 461.9 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.2694, allocations: 199.8 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2696, allocations: 0.6729 MB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.2696, allocations: 11.94 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.2697, allocations: 7.438 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2697, allocations: 0 / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of Templates: time 0.002815/0.2725, allocations: 0.6547 MB / 1.097 GB, free: 7.262 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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