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.001391/0.001391, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001601/0.001601, allocations: 181 kB / 23.36 MB, free: 1.129 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 0.9237/0.9237, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.269/2.269, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.363e-06/1.363e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.811e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001724/0.001742, allocations: 1.551 MB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.002697, allocations: 0.9186 MB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.002747, allocations: 4 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.002885, allocations: 39.77 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.952e-05/0.002904, allocations: 19.8 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.00323, allocations: 191.4 kB / 0.8413 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.003305, allocations: 55.66 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.003335, allocations: 7.984 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.00341, allocations: 31.84 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.892e-05/0.003429, allocations: 12 kB / 0.8414 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.003438, allocations: 0 / 0.8414 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.003691, allocations: 167.7 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.003701, allocations: 4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.003716, allocations: 19.92 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.003877, allocations: 155.5 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003879, allocations: 0 / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003879, allocations: 0 / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.434e-06/0.003882, allocations: 0 / 0.8417 GB, free: 11.03 MB / 0.8073 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.0002169/0.004099, allocations: 272.5 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.004125, allocations: 8.625 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.004162, allocations: 80.22 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.004286, allocations: 202.7 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.004318, allocations: 150.9 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.004351, allocations: 158.9 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.023e-05/0.004392, allocations: 105.5 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.00441, allocations: 75.47 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.004439, allocations: 150.9 kB / 0.8428 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.004472, allocations: 166.4 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.004503, allocations: 158.5 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.004631, allocations: 361.3 kB / 0.8435 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.004686, allocations: 169.1 kB / 0.8437 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.004704, allocations: 80.14 kB / 0.8437 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.004718, allocations: 75.28 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.004746, allocations: 113.8 kB / 0.8439 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.004747, allocations: 4 kB / 0.8439 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 3.885e-05/0.004786, allocations: 29.7 kB / 0.8439 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.004827, allocations: 130.7 kB / 0.8441 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.004902, allocations: 138.5 kB / 0.8442 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.004909, allocations: 25.7 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.004936, allocations: 92.12 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.004937, allocations: 0 / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.004957, allocations: 17.7 kB / 0.8443 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.005023, allocations: 318.8 kB / 0.8446 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.005032, allocations: 4 kB / 0.8446 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.005039, allocations: 7.938 kB / 0.8446 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/0.005061, allocations: 12.84 kB / 0.8447 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.005063, allocations: 0 / 0.8447 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.519e-05/0.005118, allocations: 37.69 kB / 0.8447 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.005127, allocations: 6.031 kB / 0.8447 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.00514, allocations: 8 kB / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005149, allocations: 0 / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.005153, allocations: 0 / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/0.005155, allocations: 0 / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.005168, allocations: 3.938 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.005174, allocations: 3.984 kB / 0.8447 GB, free: 7.77 MB / 0.8073 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 5.318e-05/0.005227, allocations: 189.2 kB / 0.8449 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.005258, allocations: 104.9 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.00529, allocations: 112.8 kB / 0.8451 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.499e-05/0.005325, allocations: 184.2 kB / 0.8453 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/0.005357, allocations: 180.3 kB / 0.8454 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/0.005391, allocations: 180.2 kB / 0.8456 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.005503, allocations: 333.3 kB / 0.8459 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/0.005525, allocations: 105.1 kB / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.005544, allocations: 104.9 kB / 0.8461 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.403e-05/0.005578, allocations: 180.3 kB / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.005613, allocations: 184.3 kB / 0.8465 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.394e-05/0.005647, allocations: 188.2 kB / 0.8467 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-05/0.00568, allocations: 180.3 kB / 0.8468 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.609e-05/0.005756, allocations: 303.7 kB / 0.8471 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.005783, allocations: 116.9 kB / 0.8472 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.005824, allocations: 180.3 kB / 0.8474 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.216e-05/0.005866, allocations: 105 kB / 0.8475 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.005901, allocations: 180.2 kB / 0.8477 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.005922, allocations: 105 kB / 0.8478 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.444e-05/0.005947, allocations: 28.81 kB / 0.8478 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005947, allocations: 0 / 0.8478 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001436/0.00609, allocations: 35.88 kB / 0.8478 GB, free: 4.383 MB / 0.8073 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.0001679/0.006258, allocations: 199.5 kB / 0.848 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.573e-05/0.006314, allocations: 42.5 kB / 0.8481 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.006317, allocations: 4 kB / 0.8481 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.006318, allocations: 0 / 0.8481 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.006525, allocations: 468.2 kB / 0.8485 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.006715, allocations: 231.6 kB / 0.8487 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.617e-05/0.006741, allocations: 59.34 kB / 0.8488 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.006756, allocations: 48 / 0.8488 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.006794, allocations: 59.36 kB / 0.8489 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.006795, allocations: 0 / 0.8489 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of Templates: time 0.002966/0.009761, allocations: 1.835 MB / 0.8506 GB, free: 1.492 MB / 0.8073 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.043507762718946]