Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001103/0.001103, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002615, allocations: 449.7 kB / 10.37 MB, free: 328 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.001069/0.001069, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.002077, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9143/0.9143, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07813/0.9924, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.733/1.733, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4528/2.186, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.356e-05, allocations: 3.734 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004289/0.004302, allocations: 3.143 MB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.007415, allocations: 2.185 MB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.007612, allocations: 8.875 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.008571, allocations: 0.4888 MB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.008727, allocations: 148.1 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.498e-05/0.008802, allocations: 63.86 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.009123, allocations: 466.1 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.009272, allocations: 105.4 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.009557, allocations: 324.4 kB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.009696, allocations: 127.6 kB / 0.7362 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.009727, allocations: 40.47 kB / 0.7363 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.509e-05/0.009763, allocations: 32.94 kB / 0.7363 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.00987, allocations: 87.72 kB / 0.7364 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.009964, allocations: 119.8 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.01019, allocations: 271.7 kB / 0.7368 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.0102, allocations: 1.781 kB / 0.7368 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.0102, allocations: 0 / 0.7368 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.01021, allocations: 0 / 0.7368 GB, free: 12.97 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000618/0.01083, allocations: 0.689 MB / 0.7374 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.01086, allocations: 8.031 kB / 0.7374 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.01091, allocations: 44.91 kB / 0.7375 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.01115, allocations: 248 kB / 0.7377 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.01117, allocations: 17.62 kB / 0.7377 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.01119, allocations: 20.38 kB / 0.7378 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.01135, allocations: 150.2 kB / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.01136, allocations: 192 / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.01137, allocations: 9.031 kB / 0.7379 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.01138, allocations: 11.88 kB / 0.7379 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.01146, allocations: 67.33 kB / 0.738 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.01199, allocations: 444 kB / 0.7384 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.01209, allocations: 79.81 kB / 0.7385 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.01214, allocations: 55.2 kB / 0.7385 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.01215, allocations: 1.031 kB / 0.7385 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.01216, allocations: 38.56 kB / 0.7386 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 8.82e-07/0.01217, allocations: 0 / 0.7386 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0001477/0.01231, allocations: 114.5 kB / 0.7387 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.01234, allocations: 55.41 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.01252, allocations: 316 kB / 0.739 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.01253, allocations: 26.73 kB / 0.7391 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.01258, allocations: 165.3 kB / 0.7392 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.01262, allocations: 67.41 kB / 0.7393 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.01266, allocations: 35.8 kB / 0.7393 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.01273, allocations: 350.7 kB / 0.7397 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.01275, allocations: 12 kB / 0.7397 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.01277, allocations: 22.05 kB / 0.7397 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.01283, allocations: 58.69 kB / 0.7397 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01283, allocations: 0 / 0.7397 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 9.317e-05/0.01292, allocations: 108.3 kB / 0.7398 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01293, allocations: 11.11 kB / 0.7399 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01294, allocations: 3.984 kB / 0.7399 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.01294, allocations: 0 / 0.7399 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.01317, allocations: 84.48 kB / 0.7399 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01317, allocations: 0 / 0.7399 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.01322, allocations: 19.88 kB / 0.74 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.01323, allocations: 4 kB / 0.74 GB, free: 9.555 MB / 0.7136 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 6.502e-05/0.01329, allocations: 121.1 kB / 0.7401 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.01332, allocations: 27.16 kB / 0.7401 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.01336, allocations: 35.41 kB / 0.7401 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01336, allocations: 8 kB / 0.7401 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01336, allocations: 3.938 kB / 0.7402 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01337, allocations: 3.938 kB / 0.7402 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.01352, allocations: 181.7 kB / 0.7403 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.01352, allocations: 0 / 0.7403 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.01369, allocations: 87.84 kB / 0.7404 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.01372, allocations: 31.77 kB / 0.7404 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01372, allocations: 3.938 kB / 0.7404 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01373, allocations: 4 kB / 0.7405 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01373, allocations: 5.125 kB / 0.7405 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.01373, allocations: 0 / 0.7405 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.0139, allocations: 223.4 kB / 0.7407 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.01392, allocations: 8.844 kB / 0.7407 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.01399, allocations: 8 kB / 0.7407 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.01401, allocations: 13.09 kB / 0.7407 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.01402, allocations: 4 kB / 0.7407 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.44e-05/0.0141, allocations: 128.7 kB / 0.7408 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.0141, allocations: 7.5 kB / 0.7408 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001561/0.01426, allocations: 83.72 kB / 0.7409 GB, free: 8.559 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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 6.248e-05/0.01432, allocations: 92.41 kB / 0.741 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.0144, allocations: 62.16 kB / 0.7411 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.01441, allocations: 4 kB / 0.7411 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.01445, allocations: 51.72 kB / 0.7411 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.0147, allocations: 113.8 kB / 0.7412 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.01823, allocations: 0.6442 MB / 0.7419 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.01829, allocations: 100.6 kB / 0.7419 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.01835, allocations: 26.94 kB / 0.742 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.01848, allocations: 117.3 kB / 0.7421 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.01848, allocations: 0 / 0.7421 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of Templates: time 0.005887/0.02437, allocations: 4.466 MB / 0.7464 GB, free: 3.156 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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: 4.544896721839905]