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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 105.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.062/3.062, allocations: 496.1 MB / 0.7801 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001974/0.001974, allocations: 64.84 kB / 1.133 GB, free: 34.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 173.7 MB / 1.303 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002641/0.2944, allocations: 1.489 MB / 1.304 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2957, allocations: 0.9072 MB / 1.305 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.2958, allocations: 7.938 kB / 1.305 GB, free: 224 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.296, allocations: 39.83 kB / 1.305 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.296, allocations: 23.78 kB / 1.305 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.2965, allocations: 193.2 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.2966, allocations: 51.67 kB / 1.305 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.2967, allocations: 0 / 1.305 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.2967, allocations: 23.92 kB / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.648e-05/0.2968, allocations: 7.938 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2968, allocations: 4 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.2971, allocations: 179.6 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.2971, allocations: 4 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.2972, allocations: 19.88 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.2974, allocations: 131.5 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2974, allocations: 0 / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2974, allocations: 0 / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2974, allocations: 0 / 1.306 GB, free: 15.56 MB / 1.014 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.0004325/0.2978, allocations: 371 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2979, allocations: 8.031 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.2979, allocations: 84.17 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.2982, allocations: 255.6 kB / 1.306 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/0.2983, allocations: 158.9 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2984, allocations: 154.9 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.744e-05/0.2984, allocations: 109.2 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.2985, allocations: 75.28 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.2985, allocations: 150.6 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.2986, allocations: 158.5 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.2987, allocations: 150.6 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.299, allocations: 461.9 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.633e-05/0.2991, allocations: 169.1 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.2991, allocations: 88.14 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.2992, allocations: 79.28 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.2992, allocations: 109.8 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2992, allocations: 0 / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.644e-05/0.2993, allocations: 37.64 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/0.2994, allocations: 126.7 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2995, allocations: 131.2 kB / 1.308 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2996, allocations: 29.7 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.2996, allocations: 92.09 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.2996, allocations: 0 / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.2997, allocations: 21.7 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2998, allocations: 318.8 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.2998, allocations: 7.938 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.2998, allocations: 4 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.2999, allocations: 20.78 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2999, allocations: 4.031 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.3, allocations: 45.64 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3, allocations: 4 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3, allocations: 4 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3, allocations: 0 / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.3, allocations: 0 / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3, allocations: 3.984 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.3001, allocations: 7.891 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3001, allocations: 7.938 kB / 1.309 GB, free: 11.95 MB / 1.014 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 0.0001086/0.3002, allocations: 185.2 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.3002, allocations: 108.9 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.3003, allocations: 112.9 kB / 1.309 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.03e-05/0.3004, allocations: 184.2 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.3005, allocations: 180.3 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.986e-05/0.3005, allocations: 180.2 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3008, allocations: 417.2 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.3009, allocations: 105 kB / 1.31 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.3009, allocations: 112.8 kB / 1.31 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.521e-05/0.301, allocations: 180.3 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.3011, allocations: 180.2 kB / 1.311 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/0.3012, allocations: 180.3 kB / 1.311 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.047e-05/0.3013, allocations: 176.3 kB / 1.311 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3015, allocations: 315.7 kB / 1.311 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3016, allocations: 189.9 kB / 1.312 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.3017, allocations: 180.3 kB / 1.312 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.3017, allocations: 113 kB / 1.312 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.3018, allocations: 180.2 kB / 1.312 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.3019, allocations: 101 kB / 1.312 GB, free: 8.418 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.164e-05/0.3019, allocations: 101.3 kB / 1.312 GB, free: 8.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 0 / 1.312 GB, free: 8.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002785/0.3022, allocations: 35.86 kB / 1.312 GB, free: 8.285 MB / 1.014 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.0002899/0.3025, allocations: 222.4 kB / 1.313 GB, free: 8.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.3026, allocations: 45.62 kB / 1.313 GB, free: 8.008 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3026, allocations: 0 / 1.313 GB, free: 8.008 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.3026, allocations: 3.938 kB / 1.313 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3031, allocations: 465.5 kB / 1.313 GB, free: 7.547 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.3034, allocations: 238.8 kB / 1.313 GB, free: 7.285 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3037, allocations: 0.6846 MB / 1.314 GB, free: 6.574 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.3037, allocations: 8.219 kB / 1.314 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.3037, allocations: 11.44 kB / 1.314 GB, free: 6.555 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3037, allocations: 0 / 1.314 GB, free: 6.555 MB / 1.014 GB Notification: Performance of Templates: time 0.004259/0.308, allocations: 1.521 MB / 1.315 GB, free: 5.078 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.339688503183424]