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.001613/0.001613, allocations: 103 kB / 16.4 MB, free: 6.465 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.001602/0.001602, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9701/0.9714, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00274/0.9742, allocations: 1.431 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00449/0.9788, allocations: 2.859 MB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.9788, allocations: 0 / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.9789, allocations: 3.938 kB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.979, allocations: 19.84 kB / 1.213 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.9829, allocations: 1.558 MB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.983, allocations: 47.67 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.9831, allocations: 7.797 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.9831, allocations: 11.92 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.9832, allocations: 15.94 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.9832, allocations: 4 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.9855, allocations: 1.482 MB / 1.216 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.9855, allocations: 11.92 kB / 1.216 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.9855, allocations: 19.88 kB / 1.216 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.987, allocations: 1.082 MB / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.987, allocations: 0 / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.245e-06/0.987, allocations: 0 / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.9871, allocations: 0 / 1.217 GB, free: 5.035 MB / 0.9356 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.0007273/0.9878, allocations: 0.5106 MB / 1.217 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9878, allocations: 12.03 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.9879, allocations: 76.22 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.9881, allocations: 259.4 kB / 1.218 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.9882, allocations: 154.9 kB / 1.218 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.9882, allocations: 154.9 kB / 1.218 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.9883, allocations: 105.1 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.9883, allocations: 79.28 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.9884, allocations: 150.6 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.9885, allocations: 154.6 kB / 1.218 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.9885, allocations: 150.6 kB / 1.219 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.9888, allocations: 469.8 kB / 1.219 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.9889, allocations: 165.1 kB / 1.219 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.989, allocations: 88.14 kB / 1.219 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.989, allocations: 75.28 kB / 1.219 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.9891, allocations: 109.8 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.9891, allocations: 0 / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.9891, allocations: 33.64 kB / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.9892, allocations: 134.7 kB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.9894, allocations: 132.1 kB / 1.22 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.9894, allocations: 29.7 kB / 1.22 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.9895, allocations: 88.14 kB / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.9895, allocations: 4 kB / 1.22 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.9895, allocations: 17.66 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9896, allocations: 318.8 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.9897, allocations: 4 kB / 1.22 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.9897, allocations: 4 kB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.9897, allocations: 16.89 kB / 1.22 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9898, allocations: 4.031 kB / 1.22 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.9899, allocations: 57.5 kB / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.9899, allocations: 8 kB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.9899, allocations: 0 / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.99, allocations: 4 kB / 1.22 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.99, allocations: 0 / 1.22 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.99, allocations: 0 / 1.22 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.99, allocations: 3.906 kB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.99, allocations: 0 / 1.22 GB, free: 1.293 MB / 0.9356 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.0001102/0.9901, allocations: 193.1 kB / 1.22 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.9902, allocations: 109 kB / 1.221 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.9903, allocations: 112.8 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-05/0.9903, allocations: 184.3 kB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.323e-05/0.9904, allocations: 184.2 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.577e-05/0.9905, allocations: 180.2 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.9908, allocations: 409.2 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/0.9908, allocations: 116.9 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.9909, allocations: 105 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.566e-05/0.991, allocations: 180.2 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.9911, allocations: 180.2 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-05/0.9911, allocations: 184.3 kB / 1.222 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.574e-05/0.9912, allocations: 180.2 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.9914, allocations: 311.7 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.9915, allocations: 189.9 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/0.9916, allocations: 180.2 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.9917, allocations: 105 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.9917, allocations: 180.3 kB / 1.223 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.9918, allocations: 116.9 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.587e-05/0.9918, allocations: 96.52 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9919, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007777/0.9926, allocations: 283.7 kB / 1.224 GB, free: 13.37 MB / 0.9512 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.001051/0.9937, allocations: 0.513 MB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.9938, allocations: 37.7 kB / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9938, allocations: 0 / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.9938, allocations: 0 / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.9943, allocations: 471.6 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.9946, allocations: 265.7 kB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.9949, allocations: 0.6807 MB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.9949, allocations: 11.44 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of SimCode: time 1.393e-06/0.9949, allocations: 0 / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.008475/1.003, allocations: 4.648 MB / 1.23 GB, free: 6.691 MB / 0.9512 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