Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 117 kB / 16.81 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 196.7 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.56 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3482, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005848/0.3541, allocations: 4.18 MB / 1.266 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.3578, allocations: 2.421 MB / 1.269 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.3581, allocations: 12 kB / 1.269 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.3596, allocations: 0.5363 MB / 1.269 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.3601, allocations: 258 kB / 1.269 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3603, allocations: 135.9 kB / 1.269 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.3611, allocations: 0.813 MB / 1.27 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.3615, allocations: 238.6 kB / 1.27 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.3618, allocations: 291 kB / 1.271 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.3622, allocations: 322.6 kB / 1.271 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.3623, allocations: 76 kB / 1.271 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3624, allocations: 72 kB / 1.271 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.3626, allocations: 179.4 kB / 1.271 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.363, allocations: 386.3 kB / 1.272 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.364, allocations: 1 MB / 1.273 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.364, allocations: 0 / 1.273 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.364, allocations: 0 / 1.273 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.364, allocations: 0 / 1.273 GB, free: 1.984 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001511/0.3655, allocations: 0.9652 MB / 1.274 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3656, allocations: 16.02 kB / 1.274 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3657, allocations: 76.47 kB / 1.274 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.3664, allocations: 462 kB / 1.274 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.3664, allocations: 37.38 kB / 1.274 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.3665, allocations: 52.33 kB / 1.274 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.3673, allocations: 430.7 kB / 1.275 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3673, allocations: 0 / 1.275 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.3673, allocations: 23.98 kB / 1.275 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.3674, allocations: 12 kB / 1.275 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.3681, allocations: 367.8 kB / 1.275 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.3702, allocations: 1.52 MB / 1.277 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.3708, allocations: 323.4 kB / 1.277 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.3713, allocations: 277.5 kB / 1.277 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3713, allocations: 7.938 kB / 1.277 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3714, allocations: 46.28 kB / 1.277 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.3714, allocations: 0 / 1.277 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009974/0.3724, allocations: 0.4898 MB / 1.278 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3724, allocations: 60.17 kB / 1.278 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.373, allocations: 485.9 kB / 1.278 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.373, allocations: 41.64 kB / 1.278 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3732, allocations: 280.6 kB / 1.278 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.3734, allocations: 150.6 kB / 1.279 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3735, allocations: 62.08 kB / 1.279 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3736, allocations: 362.8 kB / 1.279 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3739, allocations: 128.6 kB / 1.279 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3741, allocations: 121.5 kB / 1.279 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.3747, allocations: 302.2 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3747, allocations: 0 / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006864/0.3754, allocations: 392.5 kB / 1.28 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3754, allocations: 11.94 kB / 1.28 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3754, allocations: 0 / 1.28 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.3754, allocations: 4 kB / 1.28 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.3759, allocations: 127.8 kB / 1.28 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.376, allocations: 0 / 1.28 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.3762, allocations: 43.72 kB / 1.28 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3762, allocations: 4 kB / 1.28 GB, free: 10.15 MB / 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 (46): * Single equations (assignments): 46 * 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.0002315/0.3764, allocations: 201.8 kB / 1.28 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.3765, allocations: 55.61 kB / 1.28 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3766, allocations: 61.11 kB / 1.28 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3766, allocations: 3.984 kB / 1.28 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3766, allocations: 0 / 1.28 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.3768, allocations: 136.7 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.3768, allocations: 8 kB / 1.281 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.3771, allocations: 15.98 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.3771, allocations: 27.95 kB / 1.281 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001145/0.3783, allocations: 0.5236 MB / 1.281 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001076/0.3793, allocations: 0.7249 MB / 1.282 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002779/0.3796, allocations: 148 kB / 1.282 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004059/0.38, allocations: 351.1 kB / 1.282 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of Backend: time 3.21e-07/0.38, allocations: 0 / 1.282 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007239/0.3808, allocations: 266.2 kB / 1.283 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002183/0.3829, allocations: 1.649 MB / 1.284 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Templates: time 0.01368/0.3966, allocations: 7.1 MB / 1.291 GB, free: 14.92 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches