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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001619/0.001619, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.64 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2543, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001597/0.2559, allocations: 0.6282 MB / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2571, allocations: 1.015 MB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.262e-05/0.2571, allocations: 4 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2571, allocations: 0 / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006316/0.2578, allocations: 79.84 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.825e-05/0.2578, allocations: 4 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.2579, allocations: 15.94 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.2579, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.2579, allocations: 7.938 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.2582, allocations: 35.95 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2582, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.2584, allocations: 83.91 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.2584, allocations: 4 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.2584, allocations: 3.984 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2586, allocations: 75.84 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2586, allocations: 0 / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2586, allocations: 0 / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2586, allocations: 0 / 1.054 GB, free: 6.848 MB / 0.8106 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.0003178/0.2589, allocations: 339.7 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2589, allocations: 12.03 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.259, allocations: 0.9375 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2591, allocations: 164.4 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2591, allocations: 8.312 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.2591, allocations: 384 / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.616e-05/0.2592, allocations: 33.83 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2592, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.2593, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2593, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.2593, allocations: 7.984 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.2597, allocations: 464.6 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.2598, allocations: 177.1 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.2598, allocations: 80.14 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.2598, allocations: 75.28 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.2599, allocations: 105.8 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.2599, allocations: 4 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.286e-05/0.26, allocations: 41.64 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.26, allocations: 130.6 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.2601, allocations: 97.84 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2602, allocations: 25.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.2602, allocations: 88.05 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.2602, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.2603, allocations: 13.72 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2604, allocations: 322.8 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.2604, allocations: 3.938 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.2604, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.2604, allocations: 4.859 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2605, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.2606, allocations: 41.64 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2606, allocations: 4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2606, allocations: 8.094 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2606, allocations: 0 / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.612e-05/0.2606, allocations: 0 / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2606, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.2607, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2607, allocations: 3.984 kB / 1.056 GB, free: 4.383 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 9.147e-05/0.2608, allocations: 185.1 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.2608, allocations: 105 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2609, allocations: 112 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.261, allocations: 180.5 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-05/0.261, allocations: 180.2 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.634e-05/0.2611, allocations: 188.2 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.2613, allocations: 397.2 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.2614, allocations: 112.9 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.2614, allocations: 109 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-05/0.2615, allocations: 176.3 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.2615, allocations: 180.2 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.738e-05/0.2616, allocations: 176.3 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.235e-05/0.2617, allocations: 188.2 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.2618, allocations: 315.7 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.2619, allocations: 178.1 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.2619, allocations: 180.2 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.262, allocations: 108.9 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.2621, allocations: 188.3 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.2621, allocations: 104.9 kB / 1.059 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.2622, allocations: 79.28 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2622, allocations: 0 / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002755/0.2625, allocations: 23.98 kB / 1.06 GB, free: 0.7656 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.0003803/0.2629, allocations: 241 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.608e-05/0.2629, allocations: 4 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.263, allocations: 0 / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.263, allocations: 0 / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2633, allocations: 0.5237 MB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.2637, allocations: 203.5 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.264, allocations: 0.673 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.2641, allocations: 6.484 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.2641, allocations: 11.44 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.2641, allocations: 0 / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.002853/0.267, allocations: 0.6796 MB / 1.062 GB, free: 14.42 MB / 0.8262 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/jenkins/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