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.InternalResistancesOneUTube.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.00185/0.001851, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.414/1.414, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 72.11 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 159.1 MB / 1.221 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002963/1.01, allocations: 1.436 MB / 1.222 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004806/1.014, allocations: 2.869 MB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/1.014, allocations: 4 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/1.015, allocations: 3.938 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/1.015, allocations: 15.84 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/1.019, allocations: 1.544 MB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/1.02, allocations: 39.73 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/1.02, allocations: 7.797 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/1.02, allocations: 23.91 kB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/1.02, allocations: 11.94 kB / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/1.02, allocations: 0 / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/1.023, allocations: 1.49 MB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/1.023, allocations: 7.938 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/1.023, allocations: 15.88 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/1.025, allocations: 1.082 MB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.025, allocations: 0 / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.128e-06/1.025, allocations: 0 / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.025, allocations: 3.938 kB / 1.229 GB, free: 9.75 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.0008132/1.026, allocations: 0.5145 MB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.026, allocations: 8.625 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/1.026, allocations: 88.12 kB / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/1.026, allocations: 247.5 kB / 1.23 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/1.026, allocations: 158.9 kB / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/1.026, allocations: 154.9 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.191e-05/1.026, allocations: 105.1 kB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.026, allocations: 75.28 kB / 1.231 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/1.026, allocations: 154.6 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/1.026, allocations: 154.6 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/1.026, allocations: 154.5 kB / 1.231 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/1.027, allocations: 461.9 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/1.027, allocations: 169.1 kB / 1.232 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/1.027, allocations: 80.14 kB / 1.232 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.027, allocations: 75.28 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/1.027, allocations: 117.7 kB / 1.232 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/1.027, allocations: 0 / 1.232 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.998e-05/1.027, allocations: 33.61 kB / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.027, allocations: 55.41 kB / 1.232 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.027, allocations: 128 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/1.027, allocations: 25.7 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/1.027, allocations: 96.12 kB / 1.232 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/1.027, allocations: 7.922 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/1.027, allocations: 13.72 kB / 1.232 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.027, allocations: 322.8 kB / 1.233 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/1.027, allocations: 0 / 1.233 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/1.028, allocations: 12 kB / 1.233 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/1.028, allocations: 16.83 kB / 1.233 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.028, allocations: 4 kB / 1.233 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/1.028, allocations: 53.53 kB / 1.233 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.028, allocations: 4 kB / 1.233 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.028, allocations: 4 kB / 1.233 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.028, allocations: 0 / 1.233 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-06/1.028, allocations: 0 / 1.233 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.028, allocations: 0 / 1.233 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/1.028, allocations: 64 / 1.233 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/1.028, allocations: 8 kB / 1.233 GB, free: 6.078 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.948e-05/1.028, allocations: 181.1 kB / 1.233 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/1.028, allocations: 120.8 kB / 1.233 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/1.028, allocations: 112.8 kB / 1.233 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.308e-05/1.028, allocations: 184.3 kB / 1.233 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/1.028, allocations: 108.9 kB / 1.233 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/1.028, allocations: 186.1 kB / 1.234 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/1.028, allocations: 184.2 kB / 1.234 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/1.028, allocations: 101 kB / 1.234 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/1.028, allocations: 180.3 kB / 1.234 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.917e-05/1.029, allocations: 267.4 kB / 1.234 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001575/1.029, allocations: 390.9 kB / 1.235 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.978e-05/1.029, allocations: 101 kB / 1.235 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.959e-05/1.029, allocations: 97.3 kB / 1.235 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of Backend: time 3.3e-07/1.029, allocations: 0 / 1.235 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001702/1.031, allocations: 0.4989 MB / 1.235 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006244/1.031, allocations: 0.9167 MB / 1.236 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of Templates: time 0.012/1.043, allocations: 6.237 MB / 1.242 GB, free: 12.12 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches