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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001672/0.001672, allocations: 112.6 kB / 16.37 MB, free: 5.539 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.001793/0.001793, allocations: 197.4 kB / 17.31 MB, free: 5.18 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.33 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2699, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00187/0.2718, allocations: 0.58 MB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2732, allocations: 1.002 MB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.2732, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.2732, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.2739, allocations: 99.78 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.288e-05/0.274, allocations: 15.86 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.274, allocations: 11.94 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.2741, allocations: 0 / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.2741, allocations: 4 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.2743, allocations: 27.97 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.2743, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.2745, allocations: 83.91 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.2746, allocations: 3.938 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.2746, allocations: 3.938 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2748, allocations: 75.91 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2748, allocations: 0 / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2748, allocations: 0 / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2748, allocations: 0 / 1.029 GB, free: 120 kB / 0.795 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.0003299/0.2751, allocations: 335.5 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2752, allocations: 12.03 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2752, allocations: 0.9375 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2753, allocations: 164.4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.2753, allocations: 384 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.2754, allocations: 4.375 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.2754, allocations: 33.83 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2754, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2755, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2755, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.2755, allocations: 7.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.2759, allocations: 464.6 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.276, allocations: 181.1 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.276, allocations: 80.14 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.2761, allocations: 75.28 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.2761, allocations: 109.8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2761, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.467e-05/0.2762, allocations: 25.7 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.2763, allocations: 138.7 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.2764, allocations: 101.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2764, allocations: 25.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.2765, allocations: 84.12 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.2765, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.2765, allocations: 17.72 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2766, allocations: 314.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.2766, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.2767, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.2767, allocations: 8.797 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2767, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001/0.2768, allocations: 45.62 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2768, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2768, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2768, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-05/0.2769, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2769, allocations: 8.094 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.2769, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2769, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 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.684e-05/0.277, allocations: 189 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.2771, allocations: 112.9 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.2771, allocations: 108.1 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.621e-05/0.2772, allocations: 180.3 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.958e-05/0.2773, allocations: 184.2 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-05/0.2774, allocations: 180.3 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2776, allocations: 409.1 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-05/0.2777, allocations: 101 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.2777, allocations: 105 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-05/0.2778, allocations: 192.4 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.2779, allocations: 176.3 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.645e-05/0.278, allocations: 184.3 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-05/0.278, allocations: 184.3 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2782, allocations: 319.7 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.2782, allocations: 178.1 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.2783, allocations: 180.2 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.2784, allocations: 101 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.2785, allocations: 184.2 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.2785, allocations: 109 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.2786, allocations: 83.28 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2786, allocations: 0 / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002753/0.2788, allocations: 20 kB / 1.034 GB, free: 10.04 MB / 0.8106 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.0003521/0.2792, allocations: 227.5 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.355e-05/0.2793, allocations: 12 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2793, allocations: 0 / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.2793, allocations: 3.938 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.2796, allocations: 455.6 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.28, allocations: 213.3 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2803, allocations: 0.6768 MB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.2803, allocations: 0 / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.2804, allocations: 11.44 kB / 1.036 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2804, allocations: 0 / 1.036 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of Templates: time 0.002687/0.2831, allocations: 0.6714 MB / 1.036 GB, free: 7.77 MB / 0.8106 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 -s gbode -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