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.001033/0.001033, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002446, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001029/0.001029, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002351, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9402/0.9402, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07826/1.019, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.269/2.269, allocations: 447.1 MB / 0.675 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2023/2.471, allocations: 146 MB / 0.8176 GB, free: 3.871 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.673e-06/1.673e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.305e-05, allocations: 4.422 kB / 0.819 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002294/0.002317, allocations: 1.586 MB / 0.8205 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.003193, allocations: 0.9342 MB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.003245, allocations: 7.938 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.003349, allocations: 39.83 kB / 0.8215 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.972e-05/0.003369, allocations: 15.86 kB / 0.8215 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.00364, allocations: 191.3 kB / 0.8217 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.003716, allocations: 43.69 kB / 0.8217 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.003755, allocations: 19.89 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.003844, allocations: 35.92 kB / 0.8218 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.003868, allocations: 7.984 kB / 0.8218 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.003881, allocations: 4 kB / 0.8218 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.004184, allocations: 179.8 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.004196, allocations: 3.938 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.004213, allocations: 11.94 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.004376, allocations: 119.6 kB / 0.8221 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.004387, allocations: 0 / 0.8221 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004388, allocations: 0 / 0.8221 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.004398, allocations: 0 / 0.8221 GB, free: 15.29 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.000265/0.004663, allocations: 288.2 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.004694, allocations: 8.031 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.004733, allocations: 80.22 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.004873, allocations: 210.4 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.004907, allocations: 158.9 kB / 0.8228 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.004941, allocations: 158.8 kB / 0.8229 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.971e-05/0.004981, allocations: 101.5 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.004998, allocations: 75.47 kB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.005029, allocations: 154.9 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.005062, allocations: 158.5 kB / 0.8234 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.005093, allocations: 154.5 kB / 0.8235 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.005228, allocations: 361.2 kB / 0.8239 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.005285, allocations: 169.1 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.005304, allocations: 88.14 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.005322, allocations: 79.28 kB / 0.8242 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.005351, allocations: 105.8 kB / 0.8243 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.005352, allocations: 0 / 0.8243 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.692e-05/0.005408, allocations: 41.67 kB / 0.8243 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.005448, allocations: 126.7 kB / 0.8245 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.005527, allocations: 133.2 kB / 0.8246 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.005536, allocations: 25.7 kB / 0.8246 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.005562, allocations: 88.12 kB / 0.8247 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-06/0.005563, allocations: 0 / 0.8247 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.005588, allocations: 21.7 kB / 0.8247 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.005659, allocations: 322.8 kB / 0.825 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.00567, allocations: 0 / 0.825 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.005678, allocations: 4 kB / 0.825 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.005701, allocations: 8.859 kB / 0.825 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.005704, allocations: 3.984 kB / 0.825 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.766e-05/0.005761, allocations: 37.64 kB / 0.8251 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005773, allocations: 8 kB / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.005788, allocations: 0 / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.005796, allocations: 0 / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.005797, allocations: 0 / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.0058, allocations: 8.047 kB / 0.8251 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.005814, allocations: 3.938 kB / 0.8251 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005819, allocations: 4 kB / 0.8251 GB, free: 12.01 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.808e-05/0.005877, allocations: 185.1 kB / 0.8253 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.005909, allocations: 105 kB / 0.8254 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.005943, allocations: 112.7 kB / 0.8255 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.005981, allocations: 180.3 kB / 0.8257 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.648e-05/0.006017, allocations: 192.1 kB / 0.8258 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.006051, allocations: 176.3 kB / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.006168, allocations: 329.4 kB / 0.8263 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.006189, allocations: 108.9 kB / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.006211, allocations: 105 kB / 0.8265 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.006239, allocations: 108.9 kB / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.66e-05/0.006276, allocations: 184.2 kB / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.006312, allocations: 176.3 kB / 0.827 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-05/0.006348, allocations: 184.2 kB / 0.8272 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.435e-05/0.006382, allocations: 180.3 kB / 0.8273 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.108e-05/0.006463, allocations: 311.7 kB / 0.8276 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.006506, allocations: 180.5 kB / 0.8278 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.006548, allocations: 104.9 kB / 0.8279 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.006591, allocations: 184.3 kB / 0.8281 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.006618, allocations: 116.9 kB / 0.8282 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.00664, allocations: 24.83 kB / 0.8282 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00664, allocations: 0 / 0.8282 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001583/0.006798, allocations: 31.88 kB / 0.8282 GB, free: 8.625 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.000187/0.006985, allocations: 203.5 kB / 0.8284 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.055e-05/0.007046, allocations: 34.56 kB / 0.8285 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.007049, allocations: 0 / 0.8285 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.007051, allocations: 4 kB / 0.8285 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.007331, allocations: 0.594 MB / 0.829 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.007842, allocations: 231.6 kB / 0.8293 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.007869, allocations: 59.34 kB / 0.8293 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.007891, allocations: 4.031 kB / 0.8293 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.007934, allocations: 55.38 kB / 0.8294 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.007935, allocations: 4 kB / 0.8294 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of Templates: time 0.003127/0.01106, allocations: 1.884 MB / 0.8312 GB, free: 5.516 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.793188691139221]