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.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.001117/0.001117, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002574, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001586/0.001586, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.003115, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9391/0.9391, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09273/1.032, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.255/2.255, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2308/2.486, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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 1.232e-06/1.232e-06, allocations: 0 / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.243e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001565/0.001577, allocations: 1.531 MB / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.00435, allocations: 2.804 MB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.004375, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-06/0.004385, allocations: 3.938 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.004418, allocations: 19.78 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.006338, allocations: 1.514 MB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.006406, allocations: 47.67 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.006438, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.006496, allocations: 35.86 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.006516, allocations: 11.98 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.006529, allocations: 3.938 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.007928, allocations: 1.517 MB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.007937, allocations: 11.94 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.007956, allocations: 11.94 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.008874, allocations: 1.033 MB / 0.8267 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.008885, allocations: 0 / 0.8267 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.22e-07/0.008886, allocations: 0 / 0.8267 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.008896, allocations: 3.938 kB / 0.8267 GB, free: 10.25 MB / 0.8073 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.0004434/0.009339, allocations: 0.5179 MB / 0.8272 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.009368, allocations: 8.625 kB / 0.8272 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.009402, allocations: 76.22 kB / 0.8273 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.009488, allocations: 203.5 kB / 0.8275 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.009527, allocations: 154.9 kB / 0.8276 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.009558, allocations: 158.9 kB / 0.8278 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.927e-05/0.009597, allocations: 109.5 kB / 0.8279 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.009614, allocations: 75.47 kB / 0.828 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.009645, allocations: 154.7 kB / 0.8281 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.009675, allocations: 154.6 kB / 0.8283 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.009707, allocations: 158.5 kB / 0.8284 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.009837, allocations: 353.3 kB / 0.8287 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.009888, allocations: 165.1 kB / 0.8289 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.009907, allocations: 80.14 kB / 0.829 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.009923, allocations: 79.28 kB / 0.8291 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.009954, allocations: 113.8 kB / 0.8292 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.009955, allocations: 0 / 0.8292 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.277e-05/0.009998, allocations: 33.64 kB / 0.8292 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.01004, allocations: 130.7 kB / 0.8293 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.01012, allocations: 138.5 kB / 0.8295 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.01013, allocations: 25.7 kB / 0.8295 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.01016, allocations: 92.11 kB / 0.8296 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.01016, allocations: 0 / 0.8296 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.01019, allocations: 13.72 kB / 0.8296 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.01026, allocations: 318.8 kB / 0.8299 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.01027, allocations: 0 / 0.8299 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.01027, allocations: 8 kB / 0.8299 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.0103, allocations: 8.859 kB / 0.8299 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0103, allocations: 4 kB / 0.8299 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.597e-05/0.01035, allocations: 45.62 kB / 0.8299 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.01036, allocations: 4 kB / 0.8299 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.01038, allocations: 0 / 0.8299 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.01038, allocations: 4 kB / 0.83 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.01039, allocations: 0 / 0.83 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.01039, allocations: 0 / 0.83 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.0104, allocations: 7.891 kB / 0.83 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.01041, allocations: 64 / 0.83 GB, free: 6.746 MB / 0.8073 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 6.596e-05/0.01047, allocations: 189.1 kB / 0.8301 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.01051, allocations: 108.9 kB / 0.8302 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.01055, allocations: 112.7 kB / 0.8304 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.01058, allocations: 176.3 kB / 0.8305 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-05/0.01062, allocations: 188.2 kB / 0.8307 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.879e-05/0.01066, allocations: 184.2 kB / 0.8309 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.01078, allocations: 329.4 kB / 0.8312 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/0.01081, allocations: 105 kB / 0.8313 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.01083, allocations: 101 kB / 0.8314 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.01086, allocations: 108.9 kB / 0.8315 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.594e-05/0.01089, allocations: 180.3 kB / 0.8317 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.01093, allocations: 184.4 kB / 0.8318 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.56e-05/0.01097, allocations: 184.3 kB / 0.832 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.354e-05/0.011, allocations: 180.3 kB / 0.8322 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/0.01108, allocations: 311.7 kB / 0.8325 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.01113, allocations: 184.2 kB / 0.8327 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.01117, allocations: 105 kB / 0.8328 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.01121, allocations: 176.3 kB / 0.8329 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.01123, allocations: 108.9 kB / 0.833 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.01125, allocations: 26.88 kB / 0.8331 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01125, allocations: 4 kB / 0.8331 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003845/0.01164, allocations: 291 kB / 0.8333 GB, free: 3.109 MB / 0.8073 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.0006463/0.01228, allocations: 0.5723 MB / 0.8339 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.92e-05/0.01234, allocations: 38.5 kB / 0.8339 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.01235, allocations: 4 kB / 0.8339 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.01235, allocations: 3.938 kB / 0.8339 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.01267, allocations: 483.7 kB / 0.8344 GB, free: 2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.01323, allocations: 242.4 kB / 0.8346 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.01325, allocations: 55.34 kB / 0.8347 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.804e-06/0.01326, allocations: 0 / 0.8347 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.0133, allocations: 55.38 kB / 0.8347 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.0133, allocations: 0 / 0.8347 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of Templates: time 0.007504/0.0208, allocations: 7.156 MB / 0.8417 GB, free: 10.5 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.11773220077157]