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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 192.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 59.89 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.724, allocations: 160.8 MB / 1.219 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001702/0.7257, allocations: 0.5873 MB / 1.219 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.7271, allocations: 1.015 MB / 1.22 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.7271, allocations: 0 / 1.22 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.7271, allocations: 3.938 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.7278, allocations: 99.77 kB / 1.22 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.402e-05/0.7279, allocations: 8 kB / 1.22 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.7279, allocations: 11.94 kB / 1.22 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.7279, allocations: 0 / 1.22 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.728, allocations: 8 kB / 1.22 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.7282, allocations: 31.91 kB / 1.22 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.7282, allocations: 0 / 1.22 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.7284, allocations: 87.89 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.7284, allocations: 0 / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.7284, allocations: 7.984 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.7286, allocations: 75.36 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7286, allocations: 0 / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7286, allocations: 0 / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7286, allocations: 3.938 kB / 1.22 GB, free: 2.484 MB / 0.92 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.0003782/0.7289, allocations: 338.2 kB / 1.221 GB, free: 2.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.729, allocations: 8.031 kB / 1.221 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.729, allocations: 0.9375 kB / 1.221 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.7292, allocations: 168.4 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.7292, allocations: 384 / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7292, allocations: 384 / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.7293, allocations: 41.69 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7293, allocations: 0 / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.7293, allocations: 4 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.7293, allocations: 4 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.7293, allocations: 0 / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.7298, allocations: 464.6 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.7299, allocations: 169.1 kB / 1.222 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.7299, allocations: 84.14 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.7299, allocations: 79.28 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.73, allocations: 105.8 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.73, allocations: 0 / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.586e-05/0.7301, allocations: 37.67 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.7301, allocations: 126.7 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.7303, allocations: 97.86 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7303, allocations: 33.64 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.7303, allocations: 88.09 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.7303, allocations: 0 / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.7304, allocations: 13.7 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7305, allocations: 314.8 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.7305, allocations: 8 kB / 1.222 GB, free: 112 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.7305, allocations: 0 / 1.222 GB, free: 112 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.7306, allocations: 4.922 kB / 1.222 GB, free: 104 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7306, allocations: 8 kB / 1.223 GB, free: 96 kB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.817e-05/0.7307, allocations: 29.7 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7307, allocations: 4 kB / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7307, allocations: 7.922 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.7307, allocations: 4 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-05/0.7307, allocations: 3.938 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.7307, allocations: 0 / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.7307, allocations: 3.938 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.7307, allocations: 0 / 1.223 GB, free: 36 kB / 0.92 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 0.0001317/0.7309, allocations: 193 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.7309, allocations: 109 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.731, allocations: 104.1 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/0.7311, allocations: 184.2 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.227e-05/0.7312, allocations: 180.3 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-05/0.7313, allocations: 184.2 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.7316, allocations: 405.2 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.7316, allocations: 108.9 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.7317, allocations: 105 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-05/0.7317, allocations: 176.3 kB / 1.224 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/0.7318, allocations: 184.2 kB / 1.224 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.662e-05/0.7319, allocations: 192.2 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.113e-05/0.732, allocations: 184.2 kB / 1.225 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.7322, allocations: 300 kB / 1.225 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.7323, allocations: 194 kB / 1.225 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.7323, allocations: 180.3 kB / 1.225 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.7324, allocations: 108.9 kB / 1.226 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.7325, allocations: 176.3 kB / 1.226 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.7326, allocations: 101 kB / 1.226 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.7326, allocations: 83.27 kB / 1.226 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7326, allocations: 0 / 1.226 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002651/0.7329, allocations: 23.94 kB / 1.226 GB, free: 12.41 MB / 0.9356 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.0003991/0.7333, allocations: 237.9 kB / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.455e-05/0.7334, allocations: 4 kB / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7334, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.7334, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.7338, allocations: 468 kB / 1.227 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.7342, allocations: 206.7 kB / 1.227 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.7345, allocations: 0.6768 MB / 1.227 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.7345, allocations: 0.75 kB / 1.227 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.7346, allocations: 15.44 kB / 1.227 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.7346, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.003352/0.7379, allocations: 0.6773 MB / 1.228 GB, free: 10.14 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.220930363051593]