Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001975/0.001975, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.002276/0.002276, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.63/1.63, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.946/2.946, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.83e-05/4.082e-05, allocations: 7.453 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00319/0.00323, allocations: 1.477 MB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005943/0.009173, allocations: 2.823 MB / 0.7907 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.009223, allocations: 0 / 0.7907 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.009251, allocations: 9.391 kB / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.009336, allocations: 15.86 kB / 0.7907 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004635/0.01397, allocations: 1.647 MB / 0.7923 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.01409, allocations: 47.67 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.01412, allocations: 0.5312 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.01418, allocations: 23.91 kB / 0.7924 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.01421, allocations: 12.56 kB / 0.7924 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.01423, allocations: 1.688 kB / 0.7924 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.01704, allocations: 1.493 MB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.01705, allocations: 0 / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.01709, allocations: 18.14 kB / 0.7939 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.01928, allocations: 1.274 MB / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.01928, allocations: 0 / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01928, allocations: 0 / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.01929, allocations: 0 / 0.7951 GB, free: 3.887 MB / 0.7448 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.00111/0.0204, allocations: 0.5644 MB / 0.7957 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.02044, allocations: 9.156 kB / 0.7957 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.02056, allocations: 128.1 kB / 0.7958 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.02078, allocations: 238 kB / 0.796 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.02091, allocations: 239.5 kB / 0.7963 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.02105, allocations: 246.7 kB / 0.7965 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.02116, allocations: 146 kB / 0.7966 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.02122, allocations: 119.4 kB / 0.7967 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.02136, allocations: 247.3 kB / 0.797 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.02149, allocations: 238.4 kB / 0.7972 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.02163, allocations: 243.2 kB / 0.7974 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.0221, allocations: 0.5837 MB / 0.798 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.0223, allocations: 269.1 kB / 0.7983 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.02238, allocations: 130.9 kB / 0.7984 GB, free: 424 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.392e-05/0.02245, allocations: 119.2 kB / 0.7985 GB, free: 304 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.291e-05/0.02255, allocations: 152.6 kB / 0.7986 GB, free: 140 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.02255, allocations: 0 / 0.7986 GB, free: 140 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.02265, allocations: 41.53 kB / 0.7987 GB, free: 92 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.02279, allocations: 178.5 kB / 0.7989 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.02302, allocations: 193.9 kB / 0.799 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.02304, allocations: 25.7 kB / 0.7991 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.02314, allocations: 138.9 kB / 0.7992 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.02315, allocations: 1.281 kB / 0.7992 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.02319, allocations: 27.36 kB / 0.7992 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002853/0.02348, allocations: 0.4884 MB / 0.7997 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.0235, allocations: 5.031 kB / 0.7997 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.02353, allocations: 11.98 kB / 0.7997 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.02358, allocations: 15.69 kB / 0.7997 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02358, allocations: 1.125 kB / 0.7997 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001618/0.02374, allocations: 53.59 kB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.02376, allocations: 6.344 kB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.02379, allocations: 5.031 kB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.0238, allocations: 0 / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-06/0.02381, allocations: 5.188 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.02381, allocations: 3.984 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.02384, allocations: 12 kB / 0.7998 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.02385, allocations: 0 / 0.7998 GB, free: 14.87 MB / 0.7605 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.0001881/0.02404, allocations: 273.5 kB / 0.8001 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.02415, allocations: 152.8 kB / 0.8002 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.02425, allocations: 160.6 kB / 0.8004 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001601/0.02441, allocations: 268.1 kB / 0.8006 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001511/0.02456, allocations: 272.6 kB / 0.8009 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000146/0.02471, allocations: 268.8 kB / 0.8011 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.02507, allocations: 0.4961 MB / 0.8016 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.658e-05/0.02516, allocations: 153.9 kB / 0.8018 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.02524, allocations: 148.9 kB / 0.8019 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/0.0254, allocations: 272 kB / 0.8022 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004425/0.02584, allocations: 264.7 kB / 0.8024 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001482/0.02599, allocations: 264.1 kB / 0.8027 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001557/0.02615, allocations: 280.1 kB / 0.803 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.02644, allocations: 451.8 kB / 0.8034 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.02654, allocations: 152.8 kB / 0.8035 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.02671, allocations: 264.1 kB / 0.8038 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.02684, allocations: 160.8 kB / 0.8039 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.027, allocations: 276 kB / 0.8042 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/0.02708, allocations: 148.8 kB / 0.8043 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001222/0.0272, allocations: 147.1 kB / 0.8045 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.0272, allocations: 0 / 0.8045 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009413/0.02815, allocations: 299 kB / 0.8048 GB, free: 9.602 MB / 0.7605 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.00138/0.02953, allocations: 0.6273 MB / 0.8054 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.02967, allocations: 41.39 kB / 0.8054 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02967, allocations: 0 / 0.8054 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-06/0.02968, allocations: 11.98 kB / 0.8054 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.03037, allocations: 0.714 MB / 0.8061 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.03084, allocations: 277.1 kB / 0.8064 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.627e-05/0.03093, allocations: 71.33 kB / 0.8065 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.03094, allocations: 0 / 0.8065 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.03096, allocations: 8.5 kB / 0.8065 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of SimCode: time 7.02e-07/0.03097, allocations: 4 kB / 0.8065 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of Templates: time 0.01348/0.04444, allocations: 5.976 MB / 0.8123 GB, free: 1.863 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.743183829006739]