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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001263/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001308/0.001308, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5662, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001744/0.568, allocations: 0.6518 MB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.5692, allocations: 1.003 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.5692, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.5693, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000605/0.5699, allocations: 87.78 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.62e-05/0.5699, allocations: 12 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.845e-05/0.57, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.57, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.57, allocations: 11.97 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.5703, allocations: 42.39 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.5703, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.5704, allocations: 83.92 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.5705, allocations: 3.984 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.5705, allocations: 3.938 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.5706, allocations: 75.91 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5706, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5707, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5707, allocations: 3.938 kB / 1.019 GB, free: 0.8203 MB / 0.7637 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.0003097/0.571, allocations: 337.5 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.571, allocations: 11.98 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.5711, allocations: 4.875 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5712, allocations: 168.4 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5712, allocations: 384 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.5712, allocations: 384 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.731e-05/0.5713, allocations: 33.83 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5713, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5713, allocations: 3.984 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5713, allocations: 4 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.5713, allocations: 3.938 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.5718, allocations: 464.6 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.5719, allocations: 169.1 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.5719, allocations: 84.14 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.5719, allocations: 75.28 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.572, allocations: 105.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 3.307e-06/0.572, allocations: 3.984 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.135e-05/0.5721, allocations: 33.64 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.5721, allocations: 134.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.5722, allocations: 97.86 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.5722, allocations: 25.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.5723, allocations: 87.98 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.5723, allocations: 4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.5723, allocations: 9.719 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5724, allocations: 318.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.5724, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.5725, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.5725, allocations: 8.797 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5725, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.5726, allocations: 33.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5726, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5726, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5726, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.5727, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5727, allocations: 8.078 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.5727, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.5727, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 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.807e-05/0.5728, allocations: 185.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.5729, allocations: 108.9 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.5729, allocations: 108.1 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/0.573, allocations: 184.3 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-05/0.5731, allocations: 188.2 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.032e-05/0.5732, allocations: 176.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.5734, allocations: 409.1 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/0.5734, allocations: 108.9 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.5735, allocations: 101 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.5735, allocations: 184.4 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.5736, allocations: 176.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.203e-05/0.5737, allocations: 188.2 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.059e-05/0.5737, allocations: 184.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.5739, allocations: 307.7 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.5739, allocations: 178.1 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.574, allocations: 188.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.5741, allocations: 109 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.5742, allocations: 180.2 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.5742, allocations: 105 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.5742, allocations: 83.28 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5742, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002542/0.5745, allocations: 27.98 kB / 1.024 GB, free: 10.73 MB / 0.7794 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.0003534/0.5749, allocations: 226 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.504e-05/0.5749, allocations: 4 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5749, allocations: 0 / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.575, allocations: 3.938 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.5753, allocations: 0.5355 MB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.5757, allocations: 202.6 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.5759, allocations: 0.6692 MB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.576, allocations: 15.88 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.576, allocations: 7.438 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.576, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.002529/0.5785, allocations: 0.6647 MB / 1.026 GB, free: 8.402 MB / 0.7794 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 -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/jenkins/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