Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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 12.0.0-master/package.mo", uses=false) 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 16.42 MB, free: 6.469 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.001529/0.00153, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.69/2.69, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 67.91 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9135/0.9151, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002968/0.9181, allocations: 1.441 MB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004736/0.9228, allocations: 2.904 MB / 1.231 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.9229, allocations: 0 / 1.231 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.923, allocations: 3.938 kB / 1.231 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.923, allocations: 15.84 kB / 1.231 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.9273, allocations: 1.585 MB / 1.232 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.9274, allocations: 39.78 kB / 1.232 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.9275, allocations: 11.92 kB / 1.232 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.9275, allocations: 11.94 kB / 1.232 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.872e-05/0.9276, allocations: 19.88 kB / 1.232 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.9276, allocations: 0 / 1.232 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.9297, allocations: 1.529 MB / 1.234 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.9298, allocations: 11.98 kB / 1.234 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.9298, allocations: 19.88 kB / 1.234 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.9312, allocations: 1.119 MB / 1.235 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9312, allocations: 0 / 1.235 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9312, allocations: 0 / 1.235 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.9312, allocations: 0 / 1.235 GB, free: 4.781 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005399/0.9317, allocations: 0.5401 MB / 1.235 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.9318, allocations: 8.031 kB / 1.235 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.9319, allocations: 80.17 kB / 1.236 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.932, allocations: 251.6 kB / 1.236 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/0.9321, allocations: 154.9 kB / 1.236 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.9321, allocations: 154.9 kB / 1.236 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.093e-05/0.9322, allocations: 109 kB / 1.236 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.9322, allocations: 75.28 kB / 1.236 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.9323, allocations: 162.5 kB / 1.236 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.9323, allocations: 150.6 kB / 1.237 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.9324, allocations: 150.6 kB / 1.237 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.9327, allocations: 465.9 kB / 1.237 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.9328, allocations: 177.1 kB / 1.237 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.9328, allocations: 80.14 kB / 1.237 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.9328, allocations: 75.28 kB / 1.237 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.9329, allocations: 113.8 kB / 1.238 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.9329, allocations: 0 / 1.238 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.854e-05/0.9329, allocations: 29.7 kB / 1.238 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.933, allocations: 55.41 kB / 1.238 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.9331, allocations: 139.9 kB / 1.238 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.9331, allocations: 29.7 kB / 1.238 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.9332, allocations: 92.16 kB / 1.238 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.9332, allocations: 0 / 1.238 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.9332, allocations: 21.7 kB / 1.238 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9333, allocations: 314.8 kB / 1.238 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.9334, allocations: 7.938 kB / 1.238 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.9334, allocations: 11.98 kB / 1.238 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.9334, allocations: 16.89 kB / 1.238 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9334, allocations: 0 / 1.238 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001247/0.9336, allocations: 53.59 kB / 1.238 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9336, allocations: 4 kB / 1.238 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.9336, allocations: 4 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9336, allocations: 3.938 kB / 1.238 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.9336, allocations: 0 / 1.238 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9337, allocations: 3.984 kB / 1.238 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.9337, allocations: 4 kB / 1.238 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.9337, allocations: 0 / 1.238 GB, free: 1.07 MB / 0.9512 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.197e-05/0.9338, allocations: 189.1 kB / 1.239 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.9339, allocations: 112.9 kB / 1.239 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.9339, allocations: 112.9 kB / 1.239 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-05/0.934, allocations: 188.2 kB / 1.239 GB, free: 456 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.934, allocations: 101 kB / 1.239 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.9341, allocations: 193.9 kB / 1.239 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.9342, allocations: 180.3 kB / 1.239 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.9343, allocations: 105 kB / 1.239 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.9344, allocations: 184.2 kB / 1.24 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.192e-05/0.9345, allocations: 263.5 kB / 1.24 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001479/0.9346, allocations: 379 kB / 1.24 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.312e-05/0.9347, allocations: 112.9 kB / 1.24 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.9347, allocations: 101.3 kB / 1.24 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of Backend: time 2.5e-07/0.9348, allocations: 0 / 1.24 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.9362, allocations: 0.522 MB / 1.241 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0005631/0.9367, allocations: 0.905 MB / 1.242 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of Templates: time 0.009595/0.9463, allocations: 6.404 MB / 1.248 GB, free: 6.922 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches