Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.002006/0.002006, allocations: 83.75 kB / 20.23 MB, free: 4.172 MB / 18.57 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.00209/0.00209, allocations: 157.4 kB / 23.55 MB, free: 0.8633 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 1.625/1.625, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.096/3.096, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8109 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.637e-05, allocations: 6.25 kB / 0.8109 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003288/0.003324, allocations: 1.465 MB / 0.8123 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005313/0.008637, allocations: 2.775 MB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.00868, allocations: 5.188 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.008703, allocations: 7.922 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-05/0.008773, allocations: 11.86 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.01321, allocations: 1.628 MB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.01333, allocations: 43.67 kB / 0.8167 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.01337, allocations: 4 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.01343, allocations: 19.97 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.01346, allocations: 8.469 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.01347, allocations: 4.562 kB / 0.8167 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.01612, allocations: 1.459 MB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.01613, allocations: 3.938 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.01617, allocations: 12 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.01825, allocations: 1.244 MB / 0.8194 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.01825, allocations: 0 / 0.8194 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01826, allocations: 4.594 kB / 0.8194 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.01826, allocations: 0 / 0.8194 GB, free: 9.176 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001062/0.01932, allocations: 0.5564 MB / 0.8199 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.01937, allocations: 8.031 kB / 0.82 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.01947, allocations: 128.1 kB / 0.8201 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.01968, allocations: 251.6 kB / 0.8203 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.01983, allocations: 238.8 kB / 0.8205 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.01997, allocations: 246.8 kB / 0.8208 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.02008, allocations: 149.5 kB / 0.8209 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.74e-05/0.02015, allocations: 119.4 kB / 0.821 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.02028, allocations: 242.5 kB / 0.8213 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.02041, allocations: 240.2 kB / 0.8215 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.02056, allocations: 246.3 kB / 0.8217 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.02105, allocations: 0.5837 MB / 0.8223 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.02124, allocations: 261.4 kB / 0.8226 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.02132, allocations: 126.9 kB / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.0214, allocations: 124.2 kB / 0.8228 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.0215, allocations: 152.6 kB / 0.8229 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.0215, allocations: 0 / 0.8229 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001033/0.0216, allocations: 42.7 kB / 0.823 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.02172, allocations: 174.5 kB / 0.8231 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.02194, allocations: 191 kB / 0.8233 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.02196, allocations: 26.8 kB / 0.8234 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.02207, allocations: 142.9 kB / 0.8235 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.02207, allocations: 0 / 0.8235 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.02211, allocations: 20.5 kB / 0.8235 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002783/0.02239, allocations: 0.4923 MB / 0.824 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.02241, allocations: 0 / 0.824 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.02243, allocations: 4.781 kB / 0.824 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.02248, allocations: 19.69 kB / 0.824 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02248, allocations: 2.469 kB / 0.824 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000152/0.02263, allocations: 53.61 kB / 0.8241 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.02265, allocations: 8 kB / 0.8241 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.02268, allocations: 0 / 0.8241 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.02269, allocations: 0 / 0.8241 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.02269, allocations: 7.938 kB / 0.8241 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.0227, allocations: 1.75 kB / 0.8241 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.02272, allocations: 0 / 0.8241 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.02273, allocations: 0 / 0.8241 GB, free: 4.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001855/0.02291, allocations: 283.7 kB / 0.8244 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.02302, allocations: 161.3 kB / 0.8245 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-05/0.0231, allocations: 152.7 kB / 0.8247 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/0.02324, allocations: 265.4 kB / 0.8249 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001416/0.02338, allocations: 276 kB / 0.8252 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001411/0.02352, allocations: 268.1 kB / 0.8254 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.02388, allocations: 0.5017 MB / 0.8259 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.78e-05/0.02396, allocations: 144.9 kB / 0.8261 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.02404, allocations: 148.9 kB / 0.8262 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.02418, allocations: 268.2 kB / 0.8265 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003981/0.02458, allocations: 272.1 kB / 0.8267 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000144/0.02472, allocations: 272.1 kB / 0.827 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001387/0.02486, allocations: 272.1 kB / 0.8272 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.02512, allocations: 447.9 kB / 0.8277 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.02521, allocations: 152.8 kB / 0.8278 GB, free: 212 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.02539, allocations: 276 kB / 0.8281 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.02551, allocations: 148.9 kB / 0.8282 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.02566, allocations: 272 kB / 0.8285 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.02574, allocations: 152.9 kB / 0.8286 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001087/0.02585, allocations: 146 kB / 0.8288 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02585, allocations: 0 / 0.8288 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008255/0.02668, allocations: 287 kB / 0.829 GB, free: 14.93 MB / 0.7917 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.00131/0.02799, allocations: 0.6143 MB / 0.8296 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.02812, allocations: 41.39 kB / 0.8297 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.02812, allocations: 4 kB / 0.8297 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.02813, allocations: 3.938 kB / 0.8297 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.02879, allocations: 0.7078 MB / 0.8304 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.02923, allocations: 281.2 kB / 0.8306 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.02931, allocations: 71.33 kB / 0.8307 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.02933, allocations: 3.938 kB / 0.8307 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.02935, allocations: 8.5 kB / 0.8307 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of SimCode: time 4.4e-07/0.02935, allocations: 0 / 0.8307 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of Templates: time 0.0126/0.04195, allocations: 5.818 MB / 0.8364 GB, free: 7.363 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.818935228977352]