Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002229/0.002229, 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.003033/0.003033, allocations: 160 kB / 22.46 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.58/1.58, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.799/2.799, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.709e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00523/0.005257, allocations: 2.865 MB / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.009015, allocations: 1.962 MB / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.009393, allocations: 8 kB / 0.9558 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.01128, allocations: 465.6 kB / 0.9562 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.01179, allocations: 166.8 kB / 0.9564 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.01195, allocations: 55.92 kB / 0.9564 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.01261, allocations: 470.7 kB / 0.9569 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.01287, allocations: 95.83 kB / 0.957 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.01335, allocations: 259.3 kB / 0.9572 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.01361, allocations: 123.6 kB / 0.9573 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.01368, allocations: 36 kB / 0.9574 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.01375, allocations: 32 kB / 0.9574 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.0139, allocations: 103.6 kB / 0.9575 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.01411, allocations: 151.6 kB / 0.9576 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.01482, allocations: 0.5374 MB / 0.9582 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01482, allocations: 0 / 0.9582 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01483, allocations: 0 / 0.9582 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.01483, allocations: 0 / 0.9582 GB, free: 4.188 MB / 0.8575 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.001299/0.01613, allocations: 0.6368 MB / 0.9588 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.01618, allocations: 12.03 kB / 0.9588 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.01628, allocations: 48.66 kB / 0.9588 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.01691, allocations: 315.9 kB / 0.9591 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.01693, allocations: 20.81 kB / 0.9592 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.01698, allocations: 16.38 kB / 0.9592 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.01745, allocations: 200.7 kB / 0.9594 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01747, allocations: 192 / 0.9594 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.0175, allocations: 12.38 kB / 0.9594 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01751, allocations: 11.94 kB / 0.9594 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.01795, allocations: 161.9 kB / 0.9595 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.01915, allocations: 0.648 MB / 0.9602 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.01949, allocations: 134.6 kB / 0.9603 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.01973, allocations: 108.8 kB / 0.9604 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.01975, allocations: 4 kB / 0.9604 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.01979, allocations: 34.56 kB / 0.9604 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.01979, allocations: 3.938 kB / 0.9604 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0006699/0.02046, allocations: 251.8 kB / 0.9607 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.02052, allocations: 55.39 kB / 0.9607 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.02104, allocations: 393.7 kB / 0.9611 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.02107, allocations: 33.7 kB / 0.9611 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.02127, allocations: 208.4 kB / 0.9613 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.02134, allocations: 63.44 kB / 0.9614 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.02141, allocations: 41.7 kB / 0.9614 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.02163, allocations: 346.8 kB / 0.9618 GB, free: 320 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.02179, allocations: 55.95 kB / 0.9618 GB, free: 264 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.02194, allocations: 55.97 kB / 0.9619 GB, free: 208 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.02229, allocations: 143.2 kB / 0.962 GB, free: 64 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02229, allocations: 3.938 kB / 0.962 GB, free: 60 kB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005038/0.0228, allocations: 201.4 kB / 0.9622 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.02281, allocations: 4 kB / 0.9622 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.02282, allocations: 0 / 0.9622 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.02284, allocations: 4 kB / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.02311, allocations: 47.97 kB / 0.9623 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.02313, allocations: 3.938 kB / 0.9623 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.02328, allocations: 31.81 kB / 0.9623 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.02329, allocations: 4 kB / 0.9623 GB, free: 15.76 MB / 0.8731 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 0.0001979/0.02349, allocations: 161.8 kB / 0.9625 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.02356, allocations: 39.75 kB / 0.9625 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.92e-05/0.02365, allocations: 35.41 kB / 0.9625 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.02365, allocations: 4 kB / 0.9625 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.02366, allocations: 0 / 0.9625 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.02366, allocations: 0 / 0.9625 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.02407, allocations: 273 kB / 0.9628 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02407, allocations: 0 / 0.9628 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.02436, allocations: 63.91 kB / 0.9629 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.02436, allocations: 0 / 0.9629 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.02438, allocations: 4 kB / 0.9629 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.02438, allocations: 4 kB / 0.9629 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02438, allocations: 0 / 0.9629 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.02513, allocations: 382.8 kB / 0.9632 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.02521, allocations: 35.83 kB / 0.9633 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.02525, allocations: 16 kB / 0.9633 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.02542, allocations: 4 kB / 0.9633 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.02548, allocations: 15.97 kB / 0.9633 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.02549, allocations: 4 kB / 0.9633 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003504/0.02584, allocations: 287.1 kB / 0.9636 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.02584, allocations: 0 / 0.9636 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00035/0.02619, allocations: 83.78 kB / 0.9637 GB, free: 14.33 MB / 0.8731 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 0.0001659/0.02636, allocations: 107.2 kB / 0.9638 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.0268, allocations: 143.8 kB / 0.9639 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0268, allocations: 0 / 0.9639 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.02698, allocations: 75.91 kB / 0.964 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.02755, allocations: 83.05 kB / 0.964 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.0289, allocations: 0.673 MB / 0.9647 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.02912, allocations: 194.2 kB / 0.9649 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.02924, allocations: 26.97 kB / 0.9649 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.02931, allocations: 28.5 kB / 0.9649 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.02932, allocations: 0 / 0.9649 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.009641/0.03896, allocations: 3.656 MB / 0.9685 GB, free: 9.438 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.451271697878838]