Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001019/0.001019, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001095/0.001095, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9362/0.9362, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.706/1.706, allocations: 359 MB / 0.6052 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 178] 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.735e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001942/0.001959, allocations: 1.54 MB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.002924, allocations: 0.9153 MB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.002979, allocations: 7.938 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.003154, allocations: 44.94 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.952e-05/0.003174, allocations: 15.86 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.003526, allocations: 198.3 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.003602, allocations: 51.67 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.003632, allocations: 0.9062 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.462e-05/0.003707, allocations: 27.92 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.088e-05/0.003728, allocations: 12.98 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.00374, allocations: 4 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.004022, allocations: 168.3 kB / 0.79 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.004033, allocations: 9.25 kB / 0.79 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.004053, allocations: 11.94 kB / 0.79 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.004236, allocations: 151.5 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004238, allocations: 3.938 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004238, allocations: 1.594 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.004242, allocations: 4 kB / 0.7902 GB, free: 9.273 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.000267/0.004509, allocations: 396.2 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.004542, allocations: 8.031 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.004593, allocations: 129.3 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004736, allocations: 251.7 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.004784, allocations: 241.8 kB / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.004834, allocations: 242.7 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.243e-05/0.004886, allocations: 145.5 kB / 0.7915 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.004914, allocations: 123.4 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.00496, allocations: 238.8 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.00501, allocations: 242.3 kB / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.005059, allocations: 238.4 kB / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.005264, allocations: 0.5876 MB / 0.7929 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.005335, allocations: 270.1 kB / 0.7932 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.005363, allocations: 126.9 kB / 0.7933 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.005385, allocations: 120.8 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.005423, allocations: 156.6 kB / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.005424, allocations: 0 / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.186e-05/0.005476, allocations: 33.64 kB / 0.7936 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.00552, allocations: 175.6 kB / 0.7938 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.00563, allocations: 203.5 kB / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.005639, allocations: 25.7 kB / 0.794 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.005682, allocations: 144.6 kB / 0.7941 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.005684, allocations: 0 / 0.7941 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.005709, allocations: 19.38 kB / 0.7941 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.005807, allocations: 0.4923 MB / 0.7946 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.005818, allocations: 0 / 0.7946 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.005827, allocations: 5.188 kB / 0.7946 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.005855, allocations: 15.69 kB / 0.7946 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005857, allocations: 0 / 0.7946 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.494e-05/0.005952, allocations: 51.11 kB / 0.7947 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.005962, allocations: 4 kB / 0.7947 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.00598, allocations: 7.938 kB / 0.7947 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.005995, allocations: 0 / 0.7947 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-06/0.005999, allocations: 4.5 kB / 0.7947 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006004, allocations: 3.938 kB / 0.7947 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.006016, allocations: 1.688 kB / 0.7947 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.006022, allocations: 4 kB / 0.7947 GB, free: 4.441 MB / 0.7448 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.375e-05/0.006096, allocations: 275.8 kB / 0.795 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.006139, allocations: 157.8 kB / 0.7951 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.006182, allocations: 160.7 kB / 0.7953 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002704/0.006453, allocations: 264.1 kB / 0.7955 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-05/0.006504, allocations: 276.5 kB / 0.7958 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.934e-05/0.006553, allocations: 272.8 kB / 0.7961 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.006699, allocations: 0.496 MB / 0.7965 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/0.006726, allocations: 149.4 kB / 0.7967 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.006755, allocations: 146.2 kB / 0.7968 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.332e-05/0.006808, allocations: 276 kB / 0.7971 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.006858, allocations: 268.1 kB / 0.7973 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.715e-05/0.006905, allocations: 264.1 kB / 0.7976 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-05/0.006958, allocations: 272.5 kB / 0.7979 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.007072, allocations: 457.2 kB / 0.7983 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.007105, allocations: 149.2 kB / 0.7984 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.007161, allocations: 268.1 kB / 0.7987 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.007213, allocations: 152.8 kB / 0.7988 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.007271, allocations: 265.2 kB / 0.7991 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.007299, allocations: 156.8 kB / 0.7992 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.007344, allocations: 149.2 kB / 0.7994 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.007344, allocations: 0.8125 kB / 0.7994 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001804/0.007525, allocations: 31.88 kB / 0.7994 GB, free: 15.44 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.0001965/0.007721, allocations: 263.2 kB / 0.7997 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.007794, allocations: 42.73 kB / 0.7997 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007795, allocations: 0 / 0.7997 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.007796, allocations: 0 / 0.7997 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.008109, allocations: 0.7187 MB / 0.8004 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.008337, allocations: 271.3 kB / 0.8007 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.008367, allocations: 63.28 kB / 0.8007 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.492e-05/0.008382, allocations: 4.531 kB / 0.8007 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.008394, allocations: 11.94 kB / 0.8007 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/0.008394, allocations: 4 kB / 0.8007 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of Templates: time 0.002774/0.01117, allocations: 1.624 MB / 0.8023 GB, free: 12.43 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.8007398238405585]