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.001117/0.001117, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.0089/0.0089, allocations: 168.3 kB / 16.26 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.332 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.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005803, allocations: 8.281 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6174, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007375/0.6182, allocations: 304.5 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.6195, allocations: 0.9993 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.6195, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.6196, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006681/0.6202, allocations: 87.84 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.663e-05/0.6203, allocations: 11.98 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.313e-05/0.6203, allocations: 3.938 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.6204, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.536e-05/0.6204, allocations: 7.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.6206, allocations: 41.42 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.6206, allocations: 3.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.6208, allocations: 87.91 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.6208, allocations: 3.984 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.6209, allocations: 29.7 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.621, allocations: 71.91 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.621, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.621, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6211, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 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.0002754/0.6213, allocations: 333.4 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6214, allocations: 15.98 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.6214, allocations: 0.9375 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.6215, allocations: 160.4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6215, allocations: 4.312 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.6216, allocations: 4.359 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.113e-05/0.6216, allocations: 37.83 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.6217, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.6217, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6217, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.6217, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.6221, allocations: 460.6 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.6222, allocations: 173.1 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.6222, allocations: 84.14 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.6223, allocations: 75.28 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.6223, allocations: 113.8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6223, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.104e-05/0.6224, allocations: 25.7 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.6224, allocations: 130.6 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.6225, allocations: 97.86 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.6226, allocations: 29.7 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.6226, allocations: 92.06 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.6226, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.6226, allocations: 9.719 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.6227, allocations: 318.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-06/0.6227, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.6228, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/0.6228, allocations: 8.922 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6228, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.6229, allocations: 41.55 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6229, allocations: 7.984 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6229, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.623, allocations: 7.875 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.623, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.623, allocations: 3.984 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.623, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.623, allocations: 0 / 1.027 GB, free: 11.8 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.986e-05/0.6231, allocations: 193.6 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.6232, allocations: 101 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.6232, allocations: 108 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/0.6233, allocations: 180.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/0.6233, allocations: 192.3 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-05/0.6234, allocations: 184.2 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.6236, allocations: 405.2 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/0.6237, allocations: 104.9 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.6237, allocations: 105 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-05/0.6238, allocations: 176.4 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.6239, allocations: 184.2 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.239e-05/0.6239, allocations: 188.2 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.722e-05/0.624, allocations: 180.2 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.6241, allocations: 307.7 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.6242, allocations: 182.3 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.6243, allocations: 184.3 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.6243, allocations: 108.9 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.6244, allocations: 180.2 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.6245, allocations: 108.9 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.6245, allocations: 79.28 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6245, allocations: 0 / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002643/0.6248, allocations: 20 kB / 1.03 GB, free: 8.184 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.0003854/0.6252, allocations: 232.9 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.788e-05/0.6252, allocations: 4 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6253, allocations: 4 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.6253, allocations: 0 / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.6256, allocations: 0.5263 MB / 1.031 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.626, allocations: 205.9 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.6262, allocations: 0.6731 MB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.6263, allocations: 8 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.6263, allocations: 7.438 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6263, allocations: 0 / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of Templates: time 0.002813/0.6291, allocations: 0.6732 MB / 1.032 GB, free: 5.848 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