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.000883/0.000883, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001349/0.001349, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.885/0.885, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.793/1.793, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.035e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001743/0.001763, allocations: 1.486 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.00272, allocations: 0.8564 MB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.002782, allocations: 4 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.002957, allocations: 43.7 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.809e-05/0.002975, allocations: 19.84 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.003366, allocations: 196.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.003452, allocations: 55.61 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.003488, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.00358, allocations: 27.91 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/0.003604, allocations: 11.94 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.003617, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.003919, allocations: 175.7 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.00393, allocations: 3.938 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.00395, allocations: 12 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.004166, allocations: 155.6 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.004169, allocations: 3.984 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.61e-07/0.00417, allocations: 0 / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004174, allocations: 0 / 1.004 GB, free: 9.941 MB / 0.9636 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.000274/0.004448, allocations: 293.9 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.004492, allocations: 12.75 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.004544, allocations: 76.22 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.004719, allocations: 216.7 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.004758, allocations: 154.9 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.004795, allocations: 150.9 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.056e-05/0.004846, allocations: 113.5 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.004865, allocations: 75.47 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.0049, allocations: 150.9 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.004934, allocations: 154.5 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.00497, allocations: 150.6 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.005168, allocations: 417.5 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.905e-05/0.005227, allocations: 165.1 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.00525, allocations: 80.14 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.00527, allocations: 75.28 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.005303, allocations: 113.8 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.674e-06/0.005305, allocations: 7.984 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.439e-05/0.005369, allocations: 37.58 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.005412, allocations: 138.6 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.005518, allocations: 126.9 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.005528, allocations: 29.7 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.005564, allocations: 88.14 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.005567, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.005594, allocations: 21.7 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.005668, allocations: 314.8 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.005685, allocations: 4 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.005697, allocations: 8 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.005727, allocations: 16.78 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005729, allocations: 0 / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.628e-05/0.005825, allocations: 49.59 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005837, allocations: 10.03 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.005854, allocations: 0 / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.005864, allocations: 0 / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-06/0.005867, allocations: 7.922 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.005873, allocations: 4 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.005885, allocations: 0 / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.005892, allocations: 4 kB / 1.007 GB, free: 6.562 MB / 0.9636 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.122e-05/0.005964, allocations: 193.2 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.005998, allocations: 104.9 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.006034, allocations: 112.7 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001248/0.006159, allocations: 184.2 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/0.006202, allocations: 192.2 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-05/0.00624, allocations: 176.3 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.006369, allocations: 360.9 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.006392, allocations: 104.9 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.006419, allocations: 113 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.991e-05/0.006458, allocations: 180.2 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.006499, allocations: 180.3 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.756e-05/0.006537, allocations: 180.3 kB / 1.009 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.034e-05/0.006577, allocations: 180.2 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.371e-05/0.006671, allocations: 319.6 kB / 1.009 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.006699, allocations: 101 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.006748, allocations: 180.3 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.006794, allocations: 105.2 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.006839, allocations: 188.1 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.006863, allocations: 108.9 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.006909, allocations: 99.27 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006909, allocations: 0 / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001789/0.007088, allocations: 39.88 kB / 1.01 GB, free: 3.047 MB / 0.9636 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.0001912/0.007279, allocations: 214.4 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.328e-05/0.007363, allocations: 45.73 kB / 1.01 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007364, allocations: 0 / 1.01 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.007366, allocations: 4 kB / 1.011 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.007659, allocations: 471.6 kB / 1.011 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.007924, allocations: 249.7 kB / 1.011 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.007967, allocations: 67.33 kB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.00798, allocations: 8.5 kB / 1.011 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007981, allocations: 0 / 1.011 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of Templates: time 0.002024/0.01, allocations: 1.322 MB / 1.013 GB, free: 0.6211 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] 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: 6.642381636425853]