Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001564/0.001564, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001611/0.001611, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.42/1.42, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2863, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002691/0.2889, allocations: 1.493 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2904, allocations: 0.92 MB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.2904, allocations: 3.938 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2906, allocations: 43.81 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.2907, allocations: 27.72 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2912, allocations: 186.5 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.2913, allocations: 47.73 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.2913, allocations: 7.984 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.2914, allocations: 19.88 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.2914, allocations: 15.92 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.2914, allocations: 4 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.2918, allocations: 175.7 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.2918, allocations: 3.938 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.2918, allocations: 23.84 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.292, allocations: 119.6 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.292, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.292, allocations: 4 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.292, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 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.0004072/0.2924, allocations: 383 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2925, allocations: 12.03 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.2925, allocations: 84.17 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2928, allocations: 251.6 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.2929, allocations: 158.9 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.2929, allocations: 150.9 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.293, allocations: 113.2 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.293, allocations: 79.28 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.2931, allocations: 150.6 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-05/0.2932, allocations: 158.6 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.2932, allocations: 150.6 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.2936, allocations: 465.9 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2937, allocations: 169.1 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.2937, allocations: 80.14 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.2938, allocations: 79.28 kB / 1.222 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.2938, allocations: 109.8 kB / 1.222 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2938, allocations: 4 kB / 1.222 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.893e-05/0.2939, allocations: 33.66 kB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.294, allocations: 130.6 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2942, allocations: 135.5 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2942, allocations: 25.7 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.2942, allocations: 92.08 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.2942, allocations: 0 / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.2943, allocations: 17.72 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2944, allocations: 322.8 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.2944, allocations: 8 kB / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.2945, allocations: 0 / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.2945, allocations: 12.86 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2945, allocations: 7.938 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.2946, allocations: 49.62 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2946, allocations: 4 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.2946, allocations: 3.938 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2947, allocations: 4 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.2947, allocations: 64 / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.2947, allocations: 4 kB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.2947, allocations: 7.891 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2947, allocations: 0 / 1.222 GB, free: 8.629 MB / 0.9669 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.0001104/0.2948, allocations: 185.1 kB / 1.223 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.2949, allocations: 108.9 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.2949, allocations: 116.8 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.133e-05/0.295, allocations: 180.3 kB / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/0.2951, allocations: 180.3 kB / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.239e-05/0.2952, allocations: 188.1 kB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2955, allocations: 405.2 kB / 1.224 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.801e-05/0.2955, allocations: 112.9 kB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.2956, allocations: 109 kB / 1.224 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.038e-05/0.2956, allocations: 180.3 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.2957, allocations: 184.2 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.243e-05/0.2958, allocations: 180.3 kB / 1.224 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.194e-05/0.2959, allocations: 184.2 kB / 1.225 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.2961, allocations: 307.8 kB / 1.225 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2962, allocations: 197.9 kB / 1.225 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.2962, allocations: 176.3 kB / 1.225 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.2963, allocations: 104.9 kB / 1.225 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.2964, allocations: 188.3 kB / 1.226 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.2965, allocations: 105 kB / 1.226 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.2965, allocations: 101 kB / 1.226 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2965, allocations: 3.938 kB / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002812/0.2968, allocations: 35.88 kB / 1.226 GB, free: 4.945 MB / 0.9669 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.0002826/0.2971, allocations: 222.3 kB / 1.226 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.117e-05/0.2972, allocations: 29.7 kB / 1.226 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2972, allocations: 0 / 1.226 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2972, allocations: 0 / 1.226 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2976, allocations: 473.1 kB / 1.227 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.298, allocations: 237.7 kB / 1.227 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2983, allocations: 0.6846 MB / 1.227 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.2983, allocations: 7.984 kB / 1.227 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.2983, allocations: 7.438 kB / 1.227 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.2983, allocations: 0 / 1.227 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of Templates: time 0.004162/0.3025, allocations: 1.52 MB / 1.229 GB, free: 1.73 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.69057500269264]