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.0009221/0.0009221, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0008715/0.0008715, allocations: 165 kB / 23.27 MB, free: 1.219 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.8897/0.8897, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.179/2.179, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 178] 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.603e-06/1.603e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.534e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00264/0.002665, allocations: 1.546 MB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003988, allocations: 0.9033 MB / 0.8922 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.00407, allocations: 11.94 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.004291, allocations: 35.83 kB / 0.8922 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.004327, allocations: 19.8 kB / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.004879, allocations: 199.3 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.004976, allocations: 51.67 kB / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.005008, allocations: 0 / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.005109, allocations: 31.91 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.44e-05/0.005133, allocations: 11.92 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.005147, allocations: 4 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.005534, allocations: 163.8 kB / 0.8927 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.005549, allocations: 4 kB / 0.8927 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.005572, allocations: 19.94 kB / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.005808, allocations: 151.5 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00581, allocations: 4 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005811, allocations: 0 / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005816, allocations: 4 kB / 0.8928 GB, free: 6.547 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.0003144/0.006131, allocations: 404.1 kB / 0.8932 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.006171, allocations: 8.625 kB / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.00623, allocations: 128.1 kB / 0.8934 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.006395, allocations: 251.7 kB / 0.8936 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.006459, allocations: 238.8 kB / 0.8938 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.006522, allocations: 238.8 kB / 0.8941 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.925e-05/0.006591, allocations: 153.4 kB / 0.8942 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.006625, allocations: 123.4 kB / 0.8943 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.006686, allocations: 238.8 kB / 0.8945 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.006754, allocations: 242.3 kB / 0.8948 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.006816, allocations: 238.4 kB / 0.895 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.007077, allocations: 0.5686 MB / 0.8956 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.007168, allocations: 265.4 kB / 0.8958 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.007201, allocations: 130.9 kB / 0.8959 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.007246, allocations: 119.2 kB / 0.896 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.007292, allocations: 156.6 kB / 0.8962 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.007294, allocations: 0 / 0.8962 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.411e-05/0.007358, allocations: 37.66 kB / 0.8962 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.007411, allocations: 178.5 kB / 0.8964 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.007529, allocations: 196.1 kB / 0.8966 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.00754, allocations: 29.7 kB / 0.8966 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.007588, allocations: 138.8 kB / 0.8968 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.00759, allocations: 0 / 0.8968 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.007622, allocations: 23.36 kB / 0.8968 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.007779, allocations: 0.4923 MB / 0.8973 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.007795, allocations: 4 kB / 0.8973 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.007806, allocations: 3.984 kB / 0.8973 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.007837, allocations: 19.75 kB / 0.8973 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/0.007839, allocations: 0 / 0.8973 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.197e-05/0.007931, allocations: 41.64 kB / 0.8973 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.007945, allocations: 4 kB / 0.8973 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.007962, allocations: 7.984 kB / 0.8973 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007974, allocations: 0 / 0.8973 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-06/0.007978, allocations: 0 / 0.8973 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.007981, allocations: 0 / 0.8973 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.008001, allocations: 11.83 kB / 0.8973 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.008009, allocations: 8 kB / 0.8974 GB, free: 1.719 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.282e-05/0.008101, allocations: 271.8 kB / 0.8976 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.008157, allocations: 152.9 kB / 0.8978 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.008215, allocations: 160.6 kB / 0.8979 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/0.008275, allocations: 268.1 kB / 0.8982 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.357e-05/0.008338, allocations: 268.1 kB / 0.8984 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/0.008403, allocations: 272 kB / 0.8987 GB, free: 312 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.008688, allocations: 488.5 kB / 0.8991 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/0.008725, allocations: 156.8 kB / 0.8993 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.00876, allocations: 149 kB / 0.8994 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-05/0.008823, allocations: 264.1 kB / 0.8997 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.008887, allocations: 272 kB / 0.8999 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.917e-05/0.008946, allocations: 272.1 kB / 0.9002 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.489e-05/0.009011, allocations: 268 kB / 0.9005 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.009149, allocations: 455.9 kB / 0.9009 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.009194, allocations: 152.8 kB / 0.901 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.009267, allocations: 268.1 kB / 0.9013 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.009342, allocations: 148.8 kB / 0.9014 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.009409, allocations: 268.1 kB / 0.9017 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.009448, allocations: 148.8 kB / 0.9018 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.009508, allocations: 149.2 kB / 0.902 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.009508, allocations: 0 / 0.902 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002465/0.009754, allocations: 31.88 kB / 0.902 GB, free: 12.75 MB / 0.8698 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.0002412/0.009995, allocations: 270.2 kB / 0.9023 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.01009, allocations: 45.33 kB / 0.9023 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01009, allocations: 0 / 0.9023 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.01009, allocations: 0 / 0.9023 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.01041, allocations: 0.7101 MB / 0.903 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.01065, allocations: 269.4 kB / 0.9033 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.01068, allocations: 55.34 kB / 0.9033 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.0107, allocations: 4 kB / 0.9033 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.01074, allocations: 78.19 kB / 0.9034 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of SimCode: time 6.22e-07/0.01074, allocations: 3.938 kB / 0.9034 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.002798/0.01354, allocations: 1.842 MB / 0.9052 GB, free: 9.465 MB / 0.8698 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: 4.8639900628477335]