Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001849/0.001849, allocations: 116.3 kB / 17.08 MB, free: 5.824 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.002014/0.002014, allocations: 194.2 kB / 20.03 MB, free: 2.922 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.556/1.556, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 71.88 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25/1.253, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00462/1.258, allocations: 3.037 MB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003045/1.261, allocations: 2.148 MB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/1.261, allocations: 5.5 kB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/1.263, allocations: 0.5115 MB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/1.263, allocations: 133.9 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/1.263, allocations: 68.91 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005495/1.264, allocations: 434.6 kB / 1.269 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/1.264, allocations: 157.9 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/1.264, allocations: 162.7 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/1.265, allocations: 181.8 kB / 1.269 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.199e-05/1.265, allocations: 33.75 kB / 1.269 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/1.265, allocations: 34.69 kB / 1.269 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/1.265, allocations: 95.34 kB / 1.269 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/1.265, allocations: 220.6 kB / 1.27 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007489/1.266, allocations: 0.5418 MB / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.266, allocations: 1 kB / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.266, allocations: 0 / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.266, allocations: 0 / 1.27 GB, free: 3.09 MB / 0.9981 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.001/1.267, allocations: 0.7153 MB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.267, allocations: 8.719 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/1.267, allocations: 46.72 kB / 1.271 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/1.268, allocations: 380 kB / 1.271 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/1.268, allocations: 13.34 kB / 1.271 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/1.268, allocations: 21.75 kB / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/1.268, allocations: 209.5 kB / 1.272 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.268, allocations: 0 / 1.272 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/1.268, allocations: 6.312 kB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/1.268, allocations: 5 kB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/1.269, allocations: 166.6 kB / 1.272 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/1.27, allocations: 0.8649 MB / 1.273 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/1.27, allocations: 157.3 kB / 1.273 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/1.27, allocations: 112.4 kB / 1.273 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/1.27, allocations: 2.5 kB / 1.273 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/1.27, allocations: 36.16 kB / 1.273 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/1.27, allocations: 0 / 1.273 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0006335/1.271, allocations: 255.8 kB / 1.273 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.271, allocations: 57.53 kB / 1.273 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/1.272, allocations: 419.2 kB / 1.274 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.272, allocations: 26.52 kB / 1.274 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/1.272, allocations: 211.2 kB / 1.274 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/1.272, allocations: 64.06 kB / 1.274 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/1.272, allocations: 28.06 kB / 1.274 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/1.272, allocations: 351.6 kB / 1.274 GB, free: 236 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/1.272, allocations: 59.3 kB / 1.274 GB, free: 212 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.272, allocations: 55.05 kB / 1.274 GB, free: 196 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/1.273, allocations: 129.8 kB / 1.274 GB, free: 140 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.273, allocations: 0 / 1.274 GB, free: 140 kB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004109/1.273, allocations: 218.5 kB / 1.275 GB, free: 28 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.273, allocations: 8.281 kB / 1.275 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.273, allocations: 4 kB / 1.275 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.273, allocations: 5.25 kB / 1.275 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/1.273, allocations: 50 kB / 1.275 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.273, allocations: 1.812 kB / 1.275 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/1.274, allocations: 21.7 kB / 1.275 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.274, allocations: 3.156 kB / 1.275 GB, free: 8 kB / 0.9981 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.0002211/1.274, allocations: 169 kB / 1.275 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/1.274, allocations: 40.45 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/1.274, allocations: 42.89 kB / 1.275 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.274, allocations: 2.188 kB / 1.275 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.274, allocations: 3.438 kB / 1.275 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.274, allocations: 0 / 1.275 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/1.274, allocations: 378.5 kB / 1.275 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.275, allocations: 3.938 kB / 1.275 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/1.275, allocations: 60.41 kB / 1.275 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/1.275, allocations: 1.062 kB / 1.275 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/1.275, allocations: 4.875 kB / 1.275 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.275, allocations: 4.781 kB / 1.275 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.275, allocations: 0.9688 kB / 1.275 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/1.276, allocations: 376.6 kB / 1.276 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.276, allocations: 122.4 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/1.276, allocations: 8.188 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.276, allocations: 15.33 kB / 1.276 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/1.276, allocations: 7.109 kB / 1.276 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/1.276, allocations: 10.95 kB / 1.276 GB, free: 15.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003899/1.276, allocations: 296.3 kB / 1.276 GB, free: 15 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.276, allocations: 1.438 kB / 1.276 GB, free: 15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003315/1.277, allocations: 70.64 kB / 1.276 GB, free: 14.98 MB / 1.014 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.0001589/1.277, allocations: 112.7 kB / 1.276 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004042/1.277, allocations: 143.8 kB / 1.277 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.277, allocations: 0.8125 kB / 1.277 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/1.277, allocations: 83.2 kB / 1.277 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/1.278, allocations: 101 kB / 1.277 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/1.28, allocations: 0.7783 MB / 1.277 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/1.28, allocations: 0.8002 MB / 1.278 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/1.28, allocations: 28.28 kB / 1.278 GB, free: 13.56 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.28, allocations: 0 / 1.278 GB, free: 13.56 MB / 1.014 GB Notification: Performance of Templates: time 0.008808/1.289, allocations: 4.369 MB / 1.283 GB, free: 13.05 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.947260669898242]