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.InternalResistancesOneUTubeNegative.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.001688/0.001688, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002247/0.002247, allocations: 189 kB / 22.22 MB, free: 5.105 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.377/3.377, allocations: 0.4893 GB / 0.7884 GB, free: 33.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 69.22 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4117, allocations: 174.9 MB / 1.316 GB, free: 9.652 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003837/0.4156, allocations: 1.449 MB / 1.318 GB, free: 8.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006412/0.422, allocations: 2.902 MB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.422, allocations: 0 / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.4221, allocations: 3.938 kB / 1.32 GB, free: 5.273 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.4221, allocations: 15.84 kB / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005497/0.4276, allocations: 1.615 MB / 1.322 GB, free: 3.664 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4277, allocations: 43.67 kB / 1.322 GB, free: 3.621 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.4278, allocations: 4 kB / 1.322 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.4278, allocations: 11.94 kB / 1.322 GB, free: 3.605 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.4279, allocations: 19.92 kB / 1.322 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.4279, allocations: 4 kB / 1.322 GB, free: 3.582 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.4315, allocations: 1.7 MB / 1.324 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.4315, allocations: 3.938 kB / 1.324 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.4315, allocations: 19.88 kB / 1.324 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.434, allocations: 1.107 MB / 1.325 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.434, allocations: 0 / 1.325 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.354e-06/0.434, allocations: 0 / 1.325 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.4341, allocations: 0 / 1.325 GB, free: 0.7461 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.0008935/0.435, allocations: 468.2 kB / 1.325 GB, free: 264 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.435, allocations: 11.97 kB / 1.325 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.4351, allocations: 80.17 kB / 1.325 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.4353, allocations: 197.6 kB / 1.326 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.4354, allocations: 150.9 kB / 1.326 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.4355, allocations: 150.9 kB / 1.326 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.4356, allocations: 113.1 kB / 1.326 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.4356, allocations: 79.28 kB / 1.326 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/0.4357, allocations: 154.6 kB / 1.326 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-05/0.4358, allocations: 158.6 kB / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.4359, allocations: 154.5 kB / 1.326 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.4363, allocations: 437 kB / 1.327 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4364, allocations: 165.1 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.4365, allocations: 80.14 kB / 1.327 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.4365, allocations: 75.28 kB / 1.327 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/0.4366, allocations: 109.8 kB / 1.327 GB, free: 14.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 3.577e-06/0.4366, allocations: 4 kB / 1.327 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001118/0.4367, allocations: 37.59 kB / 1.327 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.4368, allocations: 130.6 kB / 1.327 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.437, allocations: 135.9 kB / 1.328 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.437, allocations: 25.7 kB / 1.328 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.4371, allocations: 96.12 kB / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.4371, allocations: 0 / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.4371, allocations: 13.72 kB / 1.328 GB, free: 13.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4373, allocations: 326.8 kB / 1.328 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.4373, allocations: 4 kB / 1.328 GB, free: 13.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.4373, allocations: 0 / 1.328 GB, free: 13.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.4374, allocations: 20.8 kB / 1.328 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4374, allocations: 0 / 1.328 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001659/0.4376, allocations: 49.58 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4376, allocations: 4 kB / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.4376, allocations: 4 kB / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4376, allocations: 0 / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.4376, allocations: 0 / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4376, allocations: 4.062 kB / 1.328 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.4377, allocations: 15.89 kB / 1.328 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4377, allocations: 0 / 1.328 GB, free: 13.17 MB / 1.029 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.000141/0.4378, allocations: 181.7 kB / 1.328 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.4379, allocations: 116.8 kB / 1.328 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/0.438, allocations: 112.8 kB / 1.328 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.845e-05/0.4381, allocations: 180.3 kB / 1.329 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001048/0.4382, allocations: 184.2 kB / 1.329 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.883e-05/0.4383, allocations: 176.3 kB / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.4387, allocations: 388.3 kB / 1.329 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.254e-05/0.4388, allocations: 108.9 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.4388, allocations: 105 kB / 1.33 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.089e-05/0.4389, allocations: 188.2 kB / 1.33 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.925e-05/0.439, allocations: 176.3 kB / 1.33 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.755e-05/0.4391, allocations: 184.2 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001024/0.4392, allocations: 184.2 kB / 1.33 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.4394, allocations: 311.7 kB / 1.331 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.4395, allocations: 108.9 kB / 1.331 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4396, allocations: 188.2 kB / 1.331 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4397, allocations: 105 kB / 1.331 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4398, allocations: 184.1 kB / 1.331 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.4399, allocations: 109 kB / 1.331 GB, free: 9.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.658e-05/0.44, allocations: 101 kB / 1.331 GB, free: 9.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.44, allocations: 0 / 1.331 GB, free: 9.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001217/0.4412, allocations: 279 kB / 1.332 GB, free: 9.375 MB / 1.029 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.001396/0.4426, allocations: 0.5201 MB / 1.332 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.4427, allocations: 33.7 kB / 1.332 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4427, allocations: 4.062 kB / 1.332 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.4428, allocations: 11.92 kB / 1.332 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.4433, allocations: 471.6 kB / 1.333 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.4438, allocations: 224.8 kB / 1.333 GB, free: 8.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4442, allocations: 0.6885 MB / 1.333 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.4442, allocations: 0 / 1.333 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.4442, allocations: 11.44 kB / 1.333 GB, free: 7.352 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4442, allocations: 3.938 kB / 1.333 GB, free: 7.348 MB / 1.029 GB Notification: Performance of Templates: time 0.0127/0.4569, allocations: 5.483 MB / 1.339 GB, free: 1.922 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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: 9.827510259114206]