Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.002169/0.002169, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002765/0.002765, allocations: 158.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.667/1.667, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.949/2.949, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 1 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.906e-05, allocations: 2.281 kB / 1 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002654/0.002683, allocations: 1.442 MB / 1.002 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.007838, allocations: 2.677 MB / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.007882, allocations: 4 kB / 1.004 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.00791, allocations: 11.92 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.007994, allocations: 15.8 kB / 1.004 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.01245, allocations: 1.653 MB / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.01257, allocations: 51.66 kB / 1.006 GB, free: 252 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.01262, allocations: 7.984 kB / 1.006 GB, free: 244 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.01268, allocations: 15.98 kB / 1.006 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.01272, allocations: 15.92 kB / 1.006 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.01273, allocations: 4 kB / 1.006 GB, free: 208 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.01524, allocations: 1.485 MB / 1.007 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.01526, allocations: 7.938 kB / 1.007 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.01529, allocations: 12 kB / 1.007 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.01716, allocations: 1.27 MB / 1.009 GB, free: 13.42 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01716, allocations: 3.938 kB / 1.009 GB, free: 13.42 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01716, allocations: 0 / 1.009 GB, free: 13.42 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.01717, allocations: 0 / 1.009 GB, free: 13.42 MB / 0.92 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.0006934/0.01786, allocations: 468.1 kB / 1.009 GB, free: 12.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.01791, allocations: 15.97 kB / 1.009 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/0.01799, allocations: 80.17 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.01817, allocations: 208.9 kB / 1.009 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.01825, allocations: 154.9 kB / 1.01 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.01833, allocations: 150.9 kB / 1.01 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/0.01841, allocations: 101.5 kB / 1.01 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.01846, allocations: 79.47 kB / 1.01 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.01854, allocations: 154.7 kB / 1.01 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/0.01862, allocations: 150.6 kB / 1.01 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.01869, allocations: 154.6 kB / 1.01 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.01904, allocations: 417.5 kB / 1.011 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.01917, allocations: 173.1 kB / 1.011 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.01922, allocations: 80.14 kB / 1.011 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.01928, allocations: 79.28 kB / 1.011 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.895e-05/0.01935, allocations: 109.8 kB / 1.011 GB, free: 10.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.01935, allocations: 0 / 1.011 GB, free: 10.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.487e-05/0.01945, allocations: 37.59 kB / 1.011 GB, free: 10.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.01954, allocations: 130.6 kB / 1.011 GB, free: 10.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.01971, allocations: 131.5 kB / 1.011 GB, free: 10.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.01974, allocations: 25.7 kB / 1.011 GB, free: 10.42 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.01982, allocations: 96.12 kB / 1.012 GB, free: 10.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.01982, allocations: 3.938 kB / 1.012 GB, free: 10.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.01986, allocations: 13.72 kB / 1.012 GB, free: 10.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.02002, allocations: 326.8 kB / 1.012 GB, free: 9.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.02004, allocations: 4 kB / 1.012 GB, free: 9.969 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.02007, allocations: 8 kB / 1.012 GB, free: 9.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.02011, allocations: 8.859 kB / 1.012 GB, free: 9.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02011, allocations: 0 / 1.012 GB, free: 9.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.02027, allocations: 53.59 kB / 1.012 GB, free: 9.891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02028, allocations: 7.984 kB / 1.012 GB, free: 9.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.0203, allocations: 4 kB / 1.012 GB, free: 9.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.02032, allocations: 3.938 kB / 1.012 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.02032, allocations: 0 / 1.012 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.02033, allocations: 0 / 1.012 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.02035, allocations: 12 kB / 1.012 GB, free: 9.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.02036, allocations: 0 / 1.012 GB, free: 9.863 MB / 0.92 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.0001286/0.02049, allocations: 193.1 kB / 1.012 GB, free: 9.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.02056, allocations: 104.9 kB / 1.012 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.02064, allocations: 116.7 kB / 1.012 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.251e-05/0.02072, allocations: 180.2 kB / 1.013 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-05/0.02082, allocations: 188.2 kB / 1.013 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-05/0.02091, allocations: 176.3 kB / 1.013 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.02117, allocations: 360.9 kB / 1.013 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/0.02122, allocations: 113 kB / 1.013 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.02127, allocations: 105 kB / 1.013 GB, free: 8.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.02136, allocations: 188.2 kB / 1.014 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-05/0.02145, allocations: 176.3 kB / 1.014 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.778e-05/0.02154, allocations: 180.3 kB / 1.014 GB, free: 7.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001057/0.02164, allocations: 192.1 kB / 1.014 GB, free: 7.512 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.02183, allocations: 307.7 kB / 1.014 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.02189, allocations: 108.9 kB / 1.015 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.022, allocations: 184.2 kB / 1.015 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.0221, allocations: 104.9 kB / 1.015 GB, free: 6.777 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.02219, allocations: 180.2 kB / 1.015 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.02224, allocations: 105.2 kB / 1.015 GB, free: 6.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.02231, allocations: 109.3 kB / 1.015 GB, free: 6.379 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.02231, allocations: 0 / 1.015 GB, free: 6.379 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007547/0.02307, allocations: 295 kB / 1.015 GB, free: 6.09 MB / 0.92 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.001259/0.02433, allocations: 0.5901 MB / 1.016 GB, free: 5.488 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.02444, allocations: 45.69 kB / 1.016 GB, free: 5.438 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02444, allocations: 0 / 1.016 GB, free: 5.438 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.02444, allocations: 7.938 kB / 1.016 GB, free: 5.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.02492, allocations: 471.6 kB / 1.017 GB, free: 4.965 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.0253, allocations: 223.7 kB / 1.017 GB, free: 4.719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.02539, allocations: 67.34 kB / 1.017 GB, free: 4.633 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.255e-05/0.02541, allocations: 4.062 kB / 1.017 GB, free: 4.629 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.02542, allocations: 8.5 kB / 1.017 GB, free: 4.621 MB / 0.92 GB Notification: Performance of SimCode: time 4.11e-07/0.02542, allocations: 4 kB / 1.017 GB, free: 4.617 MB / 0.92 GB Notification: Performance of Templates: time 0.01142/0.03684, allocations: 5.902 MB / 1.023 GB, free: 14.77 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.86652034893632]