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.001103/0.001103, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001466/0.001466, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 9.781 kB / 0.9022 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 159.6 MB / 1.058 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000629/0.2467, allocations: 302.9 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2478, allocations: 0.9683 MB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.2478, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.047e-06/0.2479, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.2485, allocations: 87.84 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.357e-05/0.2485, allocations: 15.92 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.621e-05/0.2486, allocations: 3.938 kB / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.2486, allocations: 7.984 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.2486, allocations: 0 / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2488, allocations: 35.97 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.2489, allocations: 0 / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.249, allocations: 79.86 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.249, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.2491, allocations: 25.7 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.2492, allocations: 43.94 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2492, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2492, allocations: 4 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2492, allocations: 0 / 1.06 GB, free: 3.648 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.0002561/0.2495, allocations: 337 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2495, allocations: 16.03 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.2495, allocations: 0 / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2496, allocations: 167.1 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.2496, allocations: 0 / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.2497, allocations: 3.953 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/0.2497, allocations: 29.7 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2497, allocations: 0 / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-06/0.2498, allocations: 0 / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2498, allocations: 0 / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.2498, allocations: 8 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.2501, allocations: 464.5 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.2502, allocations: 169.2 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.2503, allocations: 88.14 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2503, allocations: 75.28 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2503, allocations: 117.8 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2503, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.584e-05/0.2504, allocations: 29.64 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.2505, allocations: 126.7 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.2505, allocations: 101.9 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2506, allocations: 25.7 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.2506, allocations: 92.03 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.2506, allocations: 0 / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.2506, allocations: 0 / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.2507, allocations: 310.8 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.2507, allocations: 4 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.2507, allocations: 0 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.63e-05/0.2508, allocations: 3.953 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2508, allocations: 0 / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.341e-05/0.2509, allocations: 41.64 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2509, allocations: 8.094 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2509, allocations: 3.984 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.2509, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.2509, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2509, allocations: 4 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.251, allocations: 3.938 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.251, allocations: 0 / 1.062 GB, free: 1.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.251, allocations: 185.1 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.2511, allocations: 109 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.2511, allocations: 108 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.205e-05/0.2512, allocations: 184.2 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.2513, allocations: 176.3 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-05/0.2513, allocations: 184.3 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.2515, allocations: 405.2 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/0.2516, allocations: 113.1 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.2516, allocations: 105 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.854e-05/0.2517, allocations: 176.3 kB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.2517, allocations: 188.2 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-05/0.2518, allocations: 184.2 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.586e-05/0.2518, allocations: 188.2 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.252, allocations: 307.8 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.252, allocations: 190 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.2521, allocations: 176.3 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.2522, allocations: 112.9 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.2522, allocations: 180.3 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.2523, allocations: 104.9 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.2523, allocations: 83.27 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2523, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002568/0.2526, allocations: 20 kB / 1.065 GB, free: 13.6 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000314/0.2529, allocations: 235.9 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.832e-05/0.253, allocations: 4 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.253, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.253, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2533, allocations: 0.5239 MB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.2536, allocations: 197.9 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2538, allocations: 0.677 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.2539, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.2539, allocations: 11.44 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2539, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.002576/0.2565, allocations: 0.6525 MB / 1.067 GB, free: 11.29 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