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.0008984/0.0008984, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009189/0.0009189, allocations: 169 kB / 23.02 MB, free: 1.547 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.9172/0.9172, allocations: 177.1 MB / 203.4 MB, free: 5.645 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 1.983/1.983, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.322e-06/1.322e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.24e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001959/0.001981, allocations: 1.551 MB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003018, allocations: 0.9239 MB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.003078, allocations: 3.938 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.003267, allocations: 45.11 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.311e-05/0.00329, allocations: 15.8 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.003697, allocations: 194.3 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.003782, allocations: 47.67 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.003817, allocations: 8.516 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.003903, allocations: 32.78 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.116e-05/0.003924, allocations: 8 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003937, allocations: 3.438 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.004259, allocations: 175.7 kB / 0.8811 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.00427, allocations: 0 / 0.8811 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.004296, allocations: 11.94 kB / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004498, allocations: 147.6 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.0045, allocations: 4 kB / 0.8813 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004501, allocations: 0 / 0.8813 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004506, allocations: 0 / 0.8813 GB, free: 3.129 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.0002888/0.004795, allocations: 400.2 kB / 0.8817 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.004832, allocations: 8.625 kB / 0.8817 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.004889, allocations: 129.3 kB / 0.8818 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.005056, allocations: 262.3 kB / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.00511, allocations: 238.8 kB / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.005167, allocations: 240.3 kB / 0.8825 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.581e-05/0.005223, allocations: 149.5 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.00525, allocations: 119.4 kB / 0.8828 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.005303, allocations: 242.7 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.857e-05/0.005361, allocations: 250.3 kB / 0.8832 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.005416, allocations: 242.3 kB / 0.8835 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.00565, allocations: 0.5837 MB / 0.884 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.005745, allocations: 261.4 kB / 0.8843 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.005778, allocations: 126.9 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.005802, allocations: 123.2 kB / 0.8845 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.005843, allocations: 152.6 kB / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.005844, allocations: 0 / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.754e-05/0.005901, allocations: 41.58 kB / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.00596, allocations: 178.5 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006075, allocations: 193.8 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.006084, allocations: 33.7 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.006128, allocations: 130.9 kB / 0.8852 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.00613, allocations: 0 / 0.8852 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.006156, allocations: 31.36 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.00626, allocations: 496.1 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.006274, allocations: 4 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-06/0.006283, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.006317, allocations: 15.67 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006318, allocations: 0 / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.662e-05/0.006415, allocations: 45.59 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.006427, allocations: 12.06 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.006442, allocations: 0 / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006454, allocations: 3.984 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.006457, allocations: 48 / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.006462, allocations: 3.938 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.00648, allocations: 11.98 kB / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006486, allocations: 0 / 0.8858 GB, free: 14.28 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.941e-05/0.006565, allocations: 271.8 kB / 0.8861 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.006609, allocations: 156.8 kB / 0.8862 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.006651, allocations: 164.7 kB / 0.8864 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.407e-05/0.006705, allocations: 268.1 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-05/0.006763, allocations: 276 kB / 0.8869 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/0.006815, allocations: 268.1 kB / 0.8871 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.006974, allocations: 0.4998 MB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.007005, allocations: 144.9 kB / 0.8878 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.007036, allocations: 152.9 kB / 0.8879 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.268e-05/0.007088, allocations: 272 kB / 0.8882 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.007139, allocations: 264.1 kB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.597e-05/0.007195, allocations: 272 kB / 0.8887 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-05/0.007251, allocations: 264.1 kB / 0.8889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.00737, allocations: 459.8 kB / 0.8894 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.007407, allocations: 153.1 kB / 0.8895 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.007468, allocations: 272 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.007521, allocations: 152.9 kB / 0.8899 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.007577, allocations: 268.1 kB / 0.8902 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.007609, allocations: 156.8 kB / 0.8903 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.007659, allocations: 141 kB / 0.8905 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007659, allocations: 0 / 0.8905 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001874/0.007846, allocations: 35.86 kB / 0.8905 GB, free: 9.266 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.0002097/0.008056, allocations: 262.3 kB / 0.8908 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.008136, allocations: 53.38 kB / 0.8908 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.008138, allocations: 0 / 0.8908 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.008141, allocations: 3.938 kB / 0.8908 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.008467, allocations: 0.7101 MB / 0.8915 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.008718, allocations: 261.4 kB / 0.8918 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.892e-05/0.008747, allocations: 59.3 kB / 0.8918 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.326e-05/0.00876, allocations: 4.062 kB / 0.8918 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.008774, allocations: 8.5 kB / 0.8918 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.008775, allocations: 0 / 0.8918 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.003356/0.01213, allocations: 1.836 MB / 0.8936 GB, free: 6.055 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.039375465363264]