Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008288/0.0008288, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8967/0.8967, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.694/1.694, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.646e-05, allocations: 2.281 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001119/0.001136, allocations: 0.6033 MB / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002254, allocations: 1.003 MB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.002307, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.002323, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.002845, allocations: 99.72 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.464e-05/0.002869, allocations: 11.98 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.00292, allocations: 7.938 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.002963, allocations: 7.984 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.002992, allocations: 4 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.003173, allocations: 35.97 kB / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.003184, allocations: 0 / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.003324, allocations: 71.86 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.003335, allocations: 3.984 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.00335, allocations: 7.938 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.00349, allocations: 91.77 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003492, allocations: 0 / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003493, allocations: 0 / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003496, allocations: 0 / 0.9829 GB, free: 0.5742 MB / 0.9323 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.0002544/0.003751, allocations: 254.3 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.003787, allocations: 8.031 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.003817, allocations: 30.75 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806e-05/0.003835, allocations: 0.9375 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.003908, allocations: 113.8 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.003917, allocations: 384 / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.003924, allocations: 4.375 kB / 0.9833 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.138e-05/0.004005, allocations: 30.27 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004012, allocations: 192 / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.00402, allocations: 3.938 kB / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004026, allocations: 0 / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.004044, allocations: 7.938 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.004375, allocations: 358.6 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/0.004438, allocations: 169.1 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.004464, allocations: 84.14 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.004483, allocations: 83.27 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.004516, allocations: 109.8 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.004517, allocations: 3.938 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.747e-05/0.004604, allocations: 29.64 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.004705, allocations: 130.7 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.004787, allocations: 109.7 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.004794, allocations: 29.64 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.004824, allocations: 80.14 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.004828, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.00485, allocations: 13.72 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.004941, allocations: 310.8 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.004958, allocations: 4 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.004966, allocations: 8 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.005007, allocations: 8.797 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.00501, allocations: 0 / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001405/0.00515, allocations: 41.62 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.005162, allocations: 4 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005167, allocations: 0 / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.005179, allocations: 0 / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.615e-05/0.005195, allocations: 4 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.0052, allocations: 0 / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.005209, allocations: 8.094 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.005215, allocations: 0 / 0.9849 GB, free: 14.38 MB / 0.948 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 6.195e-05/0.005277, allocations: 185.1 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.005313, allocations: 109.1 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.005346, allocations: 116.1 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/0.005388, allocations: 184.2 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-05/0.005432, allocations: 180.2 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-05/0.005471, allocations: 176.3 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.005613, allocations: 384.2 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.005638, allocations: 101 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.005667, allocations: 109 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-05/0.005712, allocations: 180.2 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.005761, allocations: 180.2 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-05/0.005808, allocations: 184.2 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.562e-05/0.005864, allocations: 184.3 kB / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.499e-05/0.005959, allocations: 303.7 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.005989, allocations: 109 kB / 0.9874 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.006038, allocations: 180.2 kB / 0.9876 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.006083, allocations: 105 kB / 0.9877 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.006127, allocations: 184.2 kB / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.006151, allocations: 101 kB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.006181, allocations: 91.2 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006182, allocations: 0 / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000162/0.006344, allocations: 23.88 kB / 0.9881 GB, free: 10.88 MB / 0.948 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.0005398/0.006883, allocations: 0.8712 MB / 0.9889 GB, free: 9.996 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.946e-05/0.006943, allocations: 7.984 kB / 0.9889 GB, free: 9.988 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006944, allocations: 4.062 kB / 0.9889 GB, free: 9.984 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.006946, allocations: 4 kB / 0.989 GB, free: 9.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.007183, allocations: 455.7 kB / 0.9894 GB, free: 9.531 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.007696, allocations: 237.6 kB / 0.9896 GB, free: 9.258 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.007737, allocations: 59.34 kB / 0.9897 GB, free: 9.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.007758, allocations: 0 / 0.9897 GB, free: 9.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.007784, allocations: 12.5 kB / 0.9897 GB, free: 9.168 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/0.007785, allocations: 4 kB / 0.9897 GB, free: 9.164 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.02374, allocations: 2.205 MB / 0.9918 GB, free: 7.168 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/6.938, allocations: 4.016 kB / 0.9918 GB, free: 7.168 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv: Error: Error opening file: Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmp Variables in the result: [Calling sys.exit(0), Time elapsed: 11.064289981499314]