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.001675/0.001675, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002701/0.002701, allocations: 216.6 kB / 23 MB, free: 4.969 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.362/3.362, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 67.05 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4427, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005009/0.4477, allocations: 2.851 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.4509, allocations: 1.965 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.4511, allocations: 8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.4526, allocations: 479.4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.4529, allocations: 142.9 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.453, allocations: 59.94 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.4535, allocations: 449.8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.4538, allocations: 99.86 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.4541, allocations: 167.4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.4543, allocations: 187.1 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.4544, allocations: 36 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.071e-05/0.4544, allocations: 36 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.4546, allocations: 95.67 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.4548, allocations: 175.1 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.4554, allocations: 0.5485 MB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.4554, allocations: 7.984 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4554, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4554, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 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.001187/0.4566, allocations: 0.6329 MB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4567, allocations: 8.031 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.4568, allocations: 56.61 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.4574, allocations: 312.6 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.4574, allocations: 12.81 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.4574, allocations: 28.31 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.4579, allocations: 211.6 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4579, allocations: 0 / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.458, allocations: 4 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.458, allocations: 8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.4584, allocations: 161.7 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4595, allocations: 0.6399 MB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.4598, allocations: 142.6 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.46, allocations: 102.7 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.46, allocations: 0 / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.46, allocations: 34.56 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.021e-06/0.46, allocations: 0 / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.000639/0.4607, allocations: 257.5 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4607, allocations: 59.34 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.4612, allocations: 393.7 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4613, allocations: 29.7 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4614, allocations: 204.4 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.4615, allocations: 67.42 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.4616, allocations: 33.66 kB / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4618, allocations: 346.8 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.4619, allocations: 55.97 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4621, allocations: 57.17 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.4624, allocations: 138.3 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4624, allocations: 0 / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000409/0.4628, allocations: 206.5 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4628, allocations: 8 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4628, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4628, allocations: 4 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.4631, allocations: 51.95 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.4631, allocations: 7.938 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.4632, allocations: 11.95 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4632, allocations: 11.92 kB / 1.338 GB, free: 5.273 MB / 1.029 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.0001821/0.4634, allocations: 162.4 kB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.4635, allocations: 35.77 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.4636, allocations: 39.41 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4636, allocations: 3.984 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4636, allocations: 7.938 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.4637, allocations: 39.7 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.4637, allocations: 4 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.4639, allocations: 11.98 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.4639, allocations: 11.97 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006509/0.4646, allocations: 298.4 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006557/0.4652, allocations: 459.9 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001547/0.4654, allocations: 67.98 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003562/0.4657, allocations: 287.2 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of Backend: time 7.82e-07/0.4657, allocations: 0 / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.4663, allocations: 166 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of SimCode: time 0.001717/0.468, allocations: 1.239 MB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of Templates: time 0.009733/0.4778, allocations: 4.71 MB / 1.346 GB, free: 13.8 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.862743074998434]