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.001958/0.001959, allocations: 109.3 kB / 15.99 MB, free: 6.348 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.00166/0.00166, allocations: 194.5 kB / 16.91 MB, free: 6.188 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.67 kB / 0.9084 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3798, allocations: 159.1 MB / 1.064 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003246/0.3831, allocations: 1.492 MB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004755/0.3879, allocations: 2.856 MB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.388, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.388, allocations: 3.938 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.3881, allocations: 19.84 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.3928, allocations: 1.426 MB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.393, allocations: 35.75 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.393, allocations: 7.938 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.3931, allocations: 19.91 kB / 1.07 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.3931, allocations: 15.88 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3931, allocations: 4 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.3961, allocations: 1.423 MB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.3961, allocations: 4 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.3962, allocations: 19.88 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.3979, allocations: 0.7448 MB / 1.072 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3979, allocations: 0 / 1.072 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3979, allocations: 0 / 1.072 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.3979, allocations: 4 kB / 1.072 GB, free: 7.207 MB / 0.8419 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.001081/0.399, allocations: 0.5069 MB / 1.072 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.3991, allocations: 8.625 kB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.3992, allocations: 84.12 kB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3994, allocations: 255.5 kB / 1.072 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.3995, allocations: 154.9 kB / 1.073 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.3996, allocations: 154.9 kB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.3997, allocations: 105.1 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.3997, allocations: 75.28 kB / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.3998, allocations: 154.6 kB / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.71e-05/0.3999, allocations: 154.6 kB / 1.073 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.4, allocations: 150.6 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.4004, allocations: 465.9 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.4005, allocations: 165.1 kB / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.4006, allocations: 88.14 kB / 1.074 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.4006, allocations: 75.33 kB / 1.074 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.4007, allocations: 117.8 kB / 1.074 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 3.005e-06/0.4007, allocations: 7.984 kB / 1.074 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001156/0.4008, allocations: 41.47 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.4009, allocations: 126.7 kB / 1.074 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4011, allocations: 131.7 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.4011, allocations: 29.7 kB / 1.075 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.4012, allocations: 95.98 kB / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/0.4012, allocations: 0 / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.4013, allocations: 13.72 kB / 1.075 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4014, allocations: 322.8 kB / 1.075 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.4014, allocations: 4 kB / 1.075 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.4015, allocations: 0 / 1.075 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.4015, allocations: 20.89 kB / 1.075 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4015, allocations: 0 / 1.075 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001503/0.4017, allocations: 53.56 kB / 1.075 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4017, allocations: 4 kB / 1.075 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.4017, allocations: 4 kB / 1.075 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4017, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.4018, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4018, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.4018, allocations: 11.84 kB / 1.075 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4018, allocations: 0 / 1.075 GB, free: 3.457 MB / 0.8419 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 0.0001166/0.4019, allocations: 189.8 kB / 1.075 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.402, allocations: 108.9 kB / 1.075 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.4021, allocations: 116.8 kB / 1.075 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-05/0.4022, allocations: 176.3 kB / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.938e-05/0.4023, allocations: 184.3 kB / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.58e-05/0.4023, allocations: 184.3 kB / 1.076 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.4026, allocations: 413.2 kB / 1.076 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.4026, allocations: 108.9 kB / 1.077 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.4027, allocations: 101 kB / 1.077 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.355e-05/0.4028, allocations: 188.2 kB / 1.077 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.4028, allocations: 176.3 kB / 1.077 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.15e-05/0.4029, allocations: 180.3 kB / 1.077 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-05/0.403, allocations: 180.2 kB / 1.077 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4032, allocations: 319.7 kB / 1.078 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.4033, allocations: 185.9 kB / 1.078 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.4034, allocations: 184.3 kB / 1.078 GB, free: 328 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.4035, allocations: 108.9 kB / 1.078 GB, free: 212 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.4036, allocations: 180.2 kB / 1.078 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.7098/1.113, allocations: 104.1 kB / 1.078 GB, free: 22.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001042/1.114, allocations: 95.67 kB / 1.078 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.114, allocations: 0.5469 kB / 1.078 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001242/1.115, allocations: 272.8 kB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001248/1.116, allocations: 0.5266 MB / 1.079 GB, free: 22.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001242/1.116, allocations: 39.23 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.116, allocations: 0 / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/1.116, allocations: 4.531 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/1.117, allocations: 466 kB / 1.08 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/1.117, allocations: 258.5 kB / 1.08 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/1.117, allocations: 0.6822 MB / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/1.117, allocations: 9.031 kB / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/1.117, allocations: 3.344 kB / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.01177/1.129, allocations: 4.638 MB / 1.085 GB, free: 20.61 MB / 0.8419 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