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.007012/0.007012, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001627/0.001627, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.343/2.343, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.81 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2612, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001708/0.2629, allocations: 0.5633 MB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2642, allocations: 0.9918 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.2642, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.2643, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000686/0.265, allocations: 79.78 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.354e-05/0.265, allocations: 15.94 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.2651, allocations: 11.98 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.2651, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.2652, allocations: 7.984 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.2654, allocations: 35.91 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.2654, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2656, allocations: 71.88 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.2656, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.2656, allocations: 11.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2658, allocations: 63.88 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2658, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2658, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2658, allocations: 0 / 1.09 GB, free: 15.63 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.0003352/0.2662, allocations: 331.5 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2662, allocations: 12.03 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.2662, allocations: 0.9375 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2664, allocations: 168.4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2664, allocations: 384 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.2664, allocations: 384 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.808e-05/0.2665, allocations: 41.83 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2665, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-06/0.2665, allocations: 7.875 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2665, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.2665, allocations: 7.984 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.2669, allocations: 460.6 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.267, allocations: 178.6 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.2671, allocations: 80.14 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2671, allocations: 79.22 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.2672, allocations: 105.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.2672, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.976e-05/0.2672, allocations: 29.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.2673, allocations: 130.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.2674, allocations: 105.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2674, allocations: 25.7 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2675, allocations: 84.14 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.2675, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.2675, allocations: 17.66 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2676, allocations: 314.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.2676, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.2677, allocations: 11.94 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.2677, allocations: 4.859 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2677, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.71e-05/0.2678, allocations: 41.69 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2678, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2678, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2678, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/0.2679, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2679, allocations: 96 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.2679, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2679, allocations: 4 kB / 1.092 GB, free: 13.18 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.581e-05/0.268, allocations: 186.4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2681, allocations: 108.9 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.2681, allocations: 108.1 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/0.2682, allocations: 184.2 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.854e-05/0.2682, allocations: 180.3 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.437e-05/0.2683, allocations: 176.3 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2685, allocations: 409.1 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/0.2686, allocations: 101 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.2686, allocations: 108.9 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.586e-05/0.2687, allocations: 188.4 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.2687, allocations: 180.3 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.567e-05/0.2688, allocations: 184.2 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-05/0.2689, allocations: 176.3 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.269, allocations: 319.6 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.2691, allocations: 186 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.2692, allocations: 176.3 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2692, allocations: 101 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.2693, allocations: 188.2 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.2694, allocations: 105 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.2694, allocations: 83.28 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2694, allocations: 0 / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002545/0.2697, allocations: 16 kB / 1.095 GB, free: 9.566 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.0003812/0.2701, allocations: 245.2 kB / 1.095 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.437e-05/0.2701, allocations: 3.938 kB / 1.095 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2701, allocations: 4.062 kB / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2702, allocations: 0 / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2705, allocations: 462.1 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.2709, allocations: 197.5 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2711, allocations: 0.6807 MB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.2712, allocations: 7.062 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.2712, allocations: 11.44 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.2712, allocations: 0 / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of Templates: time 0.00287/0.2741, allocations: 0.6519 MB / 1.097 GB, free: 7.312 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