Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.000931/0.000931, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009396/0.0009396, allocations: 173 kB / 24.06 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.9926/0.9926, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.049/2.049, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.427e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002441/0.002455, allocations: 1.553 MB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003737, allocations: 0.9101 MB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.003801, allocations: 4.594 kB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.003982, allocations: 43.48 kB / 0.8819 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.892e-05/0.00401, allocations: 19.86 kB / 0.8819 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.004447, allocations: 191.3 kB / 0.8821 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.004541, allocations: 53.3 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.004575, allocations: 4 kB / 0.8821 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.004662, allocations: 23.92 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.748e-05/0.00469, allocations: 15.98 kB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.004702, allocations: 1.031 kB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.00509, allocations: 171.7 kB / 0.8823 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.005103, allocations: 9 kB / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.005123, allocations: 8 kB / 0.8823 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.005353, allocations: 155.5 kB / 0.8825 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005355, allocations: 1.594 kB / 0.8825 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005355, allocations: 0 / 0.8825 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.00536, allocations: 0 / 0.8825 GB, free: 2.867 MB / 0.8386 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.0003104/0.00567, allocations: 400.2 kB / 0.8829 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.005704, allocations: 18.56 kB / 0.8829 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.005761, allocations: 124.1 kB / 0.883 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.005933, allocations: 251.7 kB / 0.8832 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.005995, allocations: 238.8 kB / 0.8835 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.006056, allocations: 242.8 kB / 0.8837 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.899e-05/0.006115, allocations: 145.5 kB / 0.8838 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.006146, allocations: 119.4 kB / 0.884 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.006204, allocations: 240.7 kB / 0.8842 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/0.006266, allocations: 242.3 kB / 0.8844 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.006332, allocations: 246.3 kB / 0.8847 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.006602, allocations: 0.5608 MB / 0.8852 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.006782, allocations: 265.4 kB / 0.8855 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.006816, allocations: 131.5 kB / 0.8856 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.006851, allocations: 120.8 kB / 0.8857 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.006902, allocations: 160.6 kB / 0.8859 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.006903, allocations: 3.938 kB / 0.8859 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.149e-05/0.006964, allocations: 33.64 kB / 0.8859 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.007024, allocations: 174.6 kB / 0.8861 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.007143, allocations: 196.8 kB / 0.8862 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.007154, allocations: 26.7 kB / 0.8863 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.007205, allocations: 138.9 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-06/0.007207, allocations: 0 / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.007243, allocations: 35.34 kB / 0.8864 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.007365, allocations: 492.1 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.007378, allocations: 4 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.007387, allocations: 3.984 kB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.007419, allocations: 19.61 kB / 0.8869 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00742, allocations: 4 kB / 0.8869 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.016e-05/0.007511, allocations: 37.66 kB / 0.887 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.007524, allocations: 8 kB / 0.887 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.007539, allocations: 3.984 kB / 0.887 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.007548, allocations: 0 / 0.887 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.007549, allocations: 4.062 kB / 0.887 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.007553, allocations: 4 kB / 0.887 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.007573, allocations: 3.938 kB / 0.887 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.007579, allocations: 0 / 0.887 GB, free: 14.06 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 9.519e-05/0.007675, allocations: 271.8 kB / 0.8872 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.00774, allocations: 160.8 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.007795, allocations: 160.7 kB / 0.8876 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/0.007858, allocations: 264.1 kB / 0.8878 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.784e-05/0.007926, allocations: 272 kB / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-05/0.007993, allocations: 276 kB / 0.8883 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.008205, allocations: 0.4887 MB / 0.8888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/0.008241, allocations: 144.9 kB / 0.8889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.00828, allocations: 148.8 kB / 0.8891 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.488e-05/0.008345, allocations: 264.1 kB / 0.8893 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.008411, allocations: 272.1 kB / 0.8896 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.403e-05/0.008475, allocations: 268 kB / 0.8899 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.415e-05/0.00854, allocations: 272 kB / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.008672, allocations: 451.9 kB / 0.8905 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.00873, allocations: 157.1 kB / 0.8907 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.00881, allocations: 268 kB / 0.891 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.0089, allocations: 152.9 kB / 0.8911 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.008967, allocations: 272 kB / 0.8914 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.009002, allocations: 144.9 kB / 0.8915 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.00906, allocations: 147.1 kB / 0.8916 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.00906, allocations: 0 / 0.8916 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002988/0.009359, allocations: 35.88 kB / 0.8917 GB, free: 9.074 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.0002411/0.0096, allocations: 262.2 kB / 0.8919 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.815e-05/0.009679, allocations: 45.33 kB / 0.892 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.00968, allocations: 3.938 kB / 0.892 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.009681, allocations: 0 / 0.892 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.01012, allocations: 0.7197 MB / 0.8927 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.01047, allocations: 265.4 kB / 0.8929 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.01051, allocations: 62.97 kB / 0.893 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.01053, allocations: 0 / 0.893 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.01059, allocations: 82.19 kB / 0.8931 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.01059, allocations: 4 kB / 0.8931 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.003905/0.01449, allocations: 1.829 MB / 0.8948 GB, free: 5.789 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.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.015270343981683]