Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00152/0.00152, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001682/0.001682, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 69.11 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2605, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001817/0.2623, allocations: 0.5774 MB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2636, allocations: 0.9954 MB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2636, allocations: 0 / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2636, allocations: 3.938 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.2643, allocations: 99.77 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.201e-05/0.2643, allocations: 8 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.509e-05/0.2644, allocations: 4 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.2644, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.2645, allocations: 15.86 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2647, allocations: 36.56 kB / 1.021 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.2647, allocations: 0 / 1.021 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2648, allocations: 79.92 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.2649, allocations: 3.984 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.2649, allocations: 0 / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2651, allocations: 76.59 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2651, allocations: 0 / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2651, allocations: 0 / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.2651, allocations: 0 / 1.021 GB, free: 7.93 MB / 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.0003328/0.2654, allocations: 347.4 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2655, allocations: 12.88 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.2655, allocations: 0.9375 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2656, allocations: 168.4 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2656, allocations: 384 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.2656, allocations: 384 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.2657, allocations: 37.77 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2657, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2658, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2658, allocations: 4 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.2658, allocations: 4 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.2662, allocations: 468.6 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.2663, allocations: 174.6 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.2663, allocations: 80.14 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.2663, allocations: 83.22 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.2664, allocations: 105.8 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.464e-06/0.2664, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.829e-05/0.2665, allocations: 37.64 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.2665, allocations: 126.7 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2667, allocations: 97.84 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2667, allocations: 25.7 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.2667, allocations: 92.05 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.2667, allocations: 7.938 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.2668, allocations: 9.719 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2669, allocations: 314.8 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.2669, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.2669, allocations: 0 / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.267, allocations: 8.844 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.267, allocations: 8.062 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.923e-05/0.2671, allocations: 33.7 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2671, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2671, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2671, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.614e-05/0.2671, allocations: 4 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2671, allocations: 3.938 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.2672, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2672, allocations: 4 kB / 1.023 GB, free: 5.465 MB / 0.795 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.287e-05/0.2673, allocations: 189.1 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.2673, allocations: 109 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.2674, allocations: 104.1 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/0.2675, allocations: 184.2 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/0.2675, allocations: 180.3 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000127/0.2677, allocations: 180.2 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2679, allocations: 409.2 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/0.268, allocations: 105 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.268, allocations: 112.9 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.789e-05/0.2681, allocations: 176.3 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.2681, allocations: 180.2 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/0.2682, allocations: 184.5 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.4e-05/0.2683, allocations: 184.2 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.2684, allocations: 307.8 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.2685, allocations: 182 kB / 1.025 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.2686, allocations: 176.3 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.2687, allocations: 116.9 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.2688, allocations: 184.2 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.2688, allocations: 101 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.2688, allocations: 83.22 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2689, allocations: 0 / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002533/0.2691, allocations: 20 kB / 1.026 GB, free: 1.848 MB / 0.795 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.0003998/0.2695, allocations: 240.9 kB / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.247e-05/0.2696, allocations: 4 kB / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2696, allocations: 0 / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.2696, allocations: 0 / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.27, allocations: 472.7 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.2704, allocations: 212.2 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2707, allocations: 0.669 MB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.2707, allocations: 4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.2708, allocations: 7.438 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2708, allocations: 4 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of Templates: time 0.002811/0.2736, allocations: 0.6738 MB / 1.028 GB, free: 15.57 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches