Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001275/0.001275, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0008966/0.0008966, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9218/0.9218, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.023/2.023, allocations: 429.5 MB / 0.6743 GB, free: 3.844 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8795 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.05e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001795/0.001815, allocations: 1.493 MB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.004893, allocations: 2.736 MB / 0.8836 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.004943, allocations: 3.938 kB / 0.8836 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.004965, allocations: 11.89 kB / 0.8836 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.00502, allocations: 7.922 kB / 0.8837 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.007811, allocations: 1.62 MB / 0.8852 GB, free: 20 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.007898, allocations: 47.67 kB / 0.8853 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.007931, allocations: 4 kB / 0.8853 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.007964, allocations: 27.91 kB / 0.8853 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.116e-05/0.007985, allocations: 11.94 kB / 0.8853 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.007996, allocations: 0 / 0.8853 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.0096, allocations: 1.458 MB / 0.8868 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.009612, allocations: 0 / 0.8868 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.009635, allocations: 11.94 kB / 0.8868 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.01099, allocations: 1.263 MB / 0.888 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01099, allocations: 0 / 0.888 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01099, allocations: 0 / 0.888 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.011, allocations: 0 / 0.888 GB, free: 13.19 MB / 0.8542 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.0005276/0.01152, allocations: 0.5567 MB / 0.8885 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01155, allocations: 8.031 kB / 0.8885 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.01161, allocations: 132.1 kB / 0.8887 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.0117, allocations: 235.8 kB / 0.8889 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.01176, allocations: 246.8 kB / 0.8891 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.01181, allocations: 246.7 kB / 0.8894 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.097e-05/0.01187, allocations: 145.5 kB / 0.8895 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.01189, allocations: 119.4 kB / 0.8896 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.01194, allocations: 242.5 kB / 0.8899 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.01199, allocations: 242.4 kB / 0.8901 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.01205, allocations: 242.4 kB / 0.8903 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.01226, allocations: 0.5608 MB / 0.8909 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.01235, allocations: 269.4 kB / 0.8911 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.01238, allocations: 126.9 kB / 0.8912 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01241, allocations: 123.1 kB / 0.8914 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.01245, allocations: 160.6 kB / 0.8915 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 3.065e-06/0.01246, allocations: 3.984 kB / 0.8915 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.372e-05/0.01251, allocations: 33.66 kB / 0.8915 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.01257, allocations: 174.5 kB / 0.8917 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.01266, allocations: 185.8 kB / 0.8919 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.01267, allocations: 25.7 kB / 0.8919 GB, free: 9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.01272, allocations: 146.9 kB / 0.8921 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.01272, allocations: 0 / 0.8921 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.01275, allocations: 27.34 kB / 0.8921 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01285, allocations: 496.1 kB / 0.8926 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.01286, allocations: 0 / 0.8926 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.01287, allocations: 7.984 kB / 0.8926 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.0129, allocations: 11.69 kB / 0.8926 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.0129, allocations: 0 / 0.8926 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.687e-05/0.01299, allocations: 45.59 kB / 0.8926 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.013, allocations: 6.344 kB / 0.8926 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.01301, allocations: 8.062 kB / 0.8926 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.01302, allocations: 3.984 kB / 0.8926 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.01302, allocations: 0 / 0.8926 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.01303, allocations: 3.938 kB / 0.8926 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.01304, allocations: 7.984 kB / 0.8926 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.01305, allocations: 0 / 0.8926 GB, free: 8.219 MB / 0.8542 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 7.953e-05/0.01313, allocations: 279.8 kB / 0.8929 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.01317, allocations: 152.8 kB / 0.8931 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.01322, allocations: 160.6 kB / 0.8932 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/0.01328, allocations: 268.1 kB / 0.8935 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-05/0.01334, allocations: 268.1 kB / 0.8937 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.703e-05/0.01339, allocations: 276 kB / 0.894 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.01356, allocations: 484.5 kB / 0.8944 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.01359, allocations: 157 kB / 0.8946 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.01362, allocations: 148.9 kB / 0.8947 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.516e-05/0.01368, allocations: 268 kB / 0.895 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.01374, allocations: 268.1 kB / 0.8952 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.928e-05/0.01381, allocations: 268.1 kB / 0.8955 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.412e-05/0.01387, allocations: 268 kB / 0.8958 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.01401, allocations: 455.8 kB / 0.8962 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.01405, allocations: 160.8 kB / 0.8963 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.01411, allocations: 272.1 kB / 0.8966 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01421, allocations: 148.8 kB / 0.8968 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.01427, allocations: 268.1 kB / 0.897 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.0143, allocations: 148.8 kB / 0.8971 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.01435, allocations: 143.1 kB / 0.8973 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01435, allocations: 0 / 0.8973 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005254/0.01487, allocations: 291 kB / 0.8976 GB, free: 2.988 MB / 0.8542 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.0007387/0.01561, allocations: 0.6217 MB / 0.8982 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.01568, allocations: 41.39 kB / 0.8982 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01568, allocations: 0 / 0.8982 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.01568, allocations: 0 / 0.8982 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.01606, allocations: 0.7217 MB / 0.8989 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.01629, allocations: 277.2 kB / 0.8992 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.01632, allocations: 55.34 kB / 0.8992 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.117e-05/0.01633, allocations: 0 / 0.8992 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.01638, allocations: 78.19 kB / 0.8993 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/0.01638, allocations: 4 kB / 0.8993 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of Templates: time 0.009269/0.02565, allocations: 7.172 MB / 0.9063 GB, free: 10 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.195752382744104]