Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.001436/0.001436, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001564, allocations: 71.89 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8873/0.8889, allocations: 140.3 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003352/0.8923, allocations: 1.487 MB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.8974, allocations: 2.954 MB / 0.954 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.8975, allocations: 5.5 kB / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.8976, allocations: 0 / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.8977, allocations: 17.25 kB / 0.954 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.9025, allocations: 1.375 MB / 0.9553 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.9026, allocations: 43.92 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.9027, allocations: 3.094 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.9027, allocations: 12.22 kB / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.9028, allocations: 14.73 kB / 0.9554 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.9028, allocations: 1.375 kB / 0.9554 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.906, allocations: 1.433 MB / 0.9568 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.906, allocations: 13.31 kB / 0.9568 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.906, allocations: 14.75 kB / 0.9568 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.9078, allocations: 0.7538 MB / 0.9576 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.9079, allocations: 0 / 0.9576 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9079, allocations: 5 kB / 0.9576 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9079, allocations: 0 / 0.9576 GB, free: 3.504 MB / 0.7169 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.001051/0.9089, allocations: 0.5195 MB / 0.9581 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.909, allocations: 8.938 kB / 0.9581 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.9091, allocations: 82.41 kB / 0.9582 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.9092, allocations: 252.7 kB / 0.9584 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.9093, allocations: 150.9 kB / 0.9586 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.9093, allocations: 151.8 kB / 0.9587 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/0.9094, allocations: 109.8 kB / 0.9588 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.9094, allocations: 75.28 kB / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.9095, allocations: 163.4 kB / 0.959 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.9095, allocations: 150.6 kB / 0.9592 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.9095, allocations: 151.3 kB / 0.9593 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.9098, allocations: 466.1 kB / 0.9598 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.9099, allocations: 174.2 kB / 0.9599 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.9099, allocations: 84.12 kB / 0.96 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.9099, allocations: 75.28 kB / 0.9601 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.91, allocations: 111 kB / 0.9602 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.91, allocations: 0 / 0.9602 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.54e-05/0.9101, allocations: 36.64 kB / 0.9602 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.9101, allocations: 131.8 kB / 0.9604 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.9103, allocations: 135.7 kB / 0.9605 GB, free: 452 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.9103, allocations: 25.7 kB / 0.9605 GB, free: 420 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.9103, allocations: 90.84 kB / 0.9606 GB, free: 328 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.9103, allocations: 0 / 0.9606 GB, free: 328 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.9104, allocations: 18.22 kB / 0.9606 GB, free: 308 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.9105, allocations: 313 kB / 0.9609 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.9105, allocations: 11.27 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.9106, allocations: 7.281 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.9106, allocations: 9.391 kB / 0.9609 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9106, allocations: 0.8438 kB / 0.9609 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001655/0.9108, allocations: 58.56 kB / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.9108, allocations: 5.031 kB / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.9108, allocations: 2.75 kB / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.9109, allocations: 0 / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.9109, allocations: 1.094 kB / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9109, allocations: 0 / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.9109, allocations: 1.062 kB / 0.961 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.9109, allocations: 5.188 kB / 0.961 GB, free: 15.91 MB / 0.7325 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.0001267/0.9111, allocations: 187.3 kB / 0.9612 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.9112, allocations: 111.1 kB / 0.9613 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.9112, allocations: 118.7 kB / 0.9614 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/0.9113, allocations: 177.6 kB / 0.9616 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.881e-05/0.9114, allocations: 185.6 kB / 0.9618 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-05/0.9115, allocations: 188.2 kB / 0.9619 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.9117, allocations: 412.1 kB / 0.9623 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/0.9118, allocations: 110.4 kB / 0.9624 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.9118, allocations: 109 kB / 0.9625 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-05/0.9119, allocations: 181.6 kB / 0.9627 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.912, allocations: 181.6 kB / 0.9629 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.021e-05/0.912, allocations: 185.6 kB / 0.9631 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-05/0.9121, allocations: 180.2 kB / 0.9632 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.9123, allocations: 309.2 kB / 0.9635 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.9124, allocations: 188.7 kB / 0.9637 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.9125, allocations: 189.6 kB / 0.9639 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.9126, allocations: 101 kB / 0.964 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.9127, allocations: 177.6 kB / 0.9642 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.9127, allocations: 106.3 kB / 0.9643 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.081e-05/0.9128, allocations: 101 kB / 0.9644 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9128, allocations: 0 / 0.9644 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001523/0.9143, allocations: 283 kB / 0.9646 GB, free: 12.23 MB / 0.7325 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.001895/0.9163, allocations: 0.5142 MB / 0.9651 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.9164, allocations: 37.77 kB / 0.9652 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9164, allocations: 0 / 0.9652 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.9164, allocations: 0 / 0.9652 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.9169, allocations: 0.5457 MB / 0.9657 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.9174, allocations: 269.4 kB / 0.966 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.9177, allocations: 0.6846 MB / 0.9666 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.9177, allocations: 8.656 kB / 0.9666 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.9177, allocations: 1.344 kB / 0.9666 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.0125/0.9302, allocations: 4.63 MB / 0.9711 GB, free: 8.039 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches