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.InternalResistancesOneUTube.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.000744/0.000744, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009575/0.001701, 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.0006723/0.0006723, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008333/0.001506, 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.9186/0.9186, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.318/2.318, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2348/2.553, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] 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.InternalResistancesOneUTube,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.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,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.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8183 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.411e-05, allocations: 8.422 kB / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002572/0.002596, allocations: 1.535 MB / 0.8199 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.005496, allocations: 2.8 MB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.005531, allocations: 4 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.005542, allocations: 3.938 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.005582, allocations: 19.78 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.007587, allocations: 1.516 MB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.725e-05/0.007655, allocations: 51.67 kB / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.007686, allocations: 0 / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.007738, allocations: 31.86 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.07e-05/0.007759, allocations: 19.92 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.007769, allocations: 0 / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.009199, allocations: 1.517 MB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.00921, allocations: 4 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.009229, allocations: 11.94 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.01022, allocations: 1.033 MB / 0.8267 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.01023, allocations: 4 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.134e-06/0.01023, allocations: 4 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.01025, allocations: 0 / 0.8267 GB, free: 10.23 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.0004954/0.01074, allocations: 0.5178 MB / 0.8272 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.01078, allocations: 12.62 kB / 0.8272 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.01081, allocations: 76.22 kB / 0.8273 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.01092, allocations: 201 kB / 0.8275 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.01096, allocations: 154.9 kB / 0.8276 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.01099, allocations: 154.9 kB / 0.8278 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.865e-05/0.01104, allocations: 101.5 kB / 0.8279 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.01106, allocations: 79.45 kB / 0.828 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.0111, allocations: 158.7 kB / 0.8281 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.01114, allocations: 150.6 kB / 0.8283 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.01118, allocations: 162.5 kB / 0.8284 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.01133, allocations: 353.3 kB / 0.8287 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.01139, allocations: 169.1 kB / 0.8289 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.01142, allocations: 80.14 kB / 0.829 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.01144, allocations: 79.28 kB / 0.8291 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.01148, allocations: 109.8 kB / 0.8292 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.01148, allocations: 0 / 0.8292 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.991e-05/0.01153, allocations: 33.64 kB / 0.8292 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.01157, allocations: 130.7 kB / 0.8293 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.01165, allocations: 141 kB / 0.8295 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.01165, allocations: 25.7 kB / 0.8295 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.01168, allocations: 88.11 kB / 0.8296 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.01168, allocations: 4 kB / 0.8296 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.01171, allocations: 13.72 kB / 0.8296 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.01177, allocations: 322.8 kB / 0.8299 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.01178, allocations: 0 / 0.8299 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.01179, allocations: 4 kB / 0.8299 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.01181, allocations: 8.859 kB / 0.8299 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01181, allocations: 32 / 0.8299 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.797e-05/0.01187, allocations: 45.62 kB / 0.8299 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01188, allocations: 4 kB / 0.8299 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.0119, allocations: 4 kB / 0.83 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.0119, allocations: 0 / 0.83 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-06/0.01191, allocations: 7.938 kB / 0.83 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.01191, allocations: 0 / 0.83 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.01193, allocations: 7.891 kB / 0.83 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.01193, allocations: 0 / 0.83 GB, free: 6.727 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 5.62e-05/0.01199, allocations: 185.1 kB / 0.8301 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.01202, allocations: 108.9 kB / 0.8302 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.01205, allocations: 112.8 kB / 0.8304 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/0.01209, allocations: 180.3 kB / 0.8305 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/0.01212, allocations: 184.2 kB / 0.8307 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.01215, allocations: 184.2 kB / 0.8309 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.01226, allocations: 325.4 kB / 0.8312 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.01228, allocations: 109 kB / 0.8313 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.0123, allocations: 101 kB / 0.8314 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.01233, allocations: 108.9 kB / 0.8315 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.293e-05/0.01237, allocations: 180.3 kB / 0.8317 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.01241, allocations: 180.4 kB / 0.8318 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.692e-05/0.01245, allocations: 192.3 kB / 0.832 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.562e-05/0.01248, allocations: 180.2 kB / 0.8322 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.361e-05/0.01256, allocations: 307.7 kB / 0.8325 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.01261, allocations: 184.2 kB / 0.8327 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.01265, allocations: 101 kB / 0.8328 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.01269, allocations: 188.2 kB / 0.8329 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.01271, allocations: 101 kB / 0.833 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.875e-05/0.01273, allocations: 22.72 kB / 0.8331 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01273, allocations: 0 / 0.8331 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004867/0.01321, allocations: 291 kB / 0.8333 GB, free: 3.102 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.0006548/0.01387, allocations: 0.5803 MB / 0.8339 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.2e-05/0.01393, allocations: 42.5 kB / 0.8339 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01393, allocations: 0 / 0.8339 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.01394, allocations: 3.938 kB / 0.8339 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01415, allocations: 475.6 kB / 0.8344 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.01473, allocations: 239.7 kB / 0.8346 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.01476, allocations: 59.34 kB / 0.8347 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.259e-05/0.01477, allocations: 0 / 0.8347 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.01481, allocations: 59.36 kB / 0.8347 GB, free: 1.594 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01481, allocations: 3.938 kB / 0.8347 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.007564/0.02237, allocations: 7.148 MB / 0.8417 GB, free: 10.49 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.213712241500616]