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.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.001601/0.001601, allocations: 102.2 kB / 16.4 MB, free: 6.461 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: 192.2 kB / 17.34 MB, free: 5.719 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00289/1.03, allocations: 1.443 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00452/1.034, allocations: 2.881 MB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/1.034, allocations: 0 / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/1.034, allocations: 5.953 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/1.035, allocations: 19.62 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/1.039, allocations: 1.591 MB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.039, allocations: 49.05 kB / 1.095 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/1.039, allocations: 7.156 kB / 1.095 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/1.039, allocations: 13.3 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/1.039, allocations: 18.17 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/1.039, allocations: 1.281 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/1.043, allocations: 1.533 MB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/1.043, allocations: 6.531 kB / 1.096 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/1.043, allocations: 20.44 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/1.045, allocations: 1.096 MB / 1.097 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/1.045, allocations: 1.094 kB / 1.097 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/1.045, allocations: 0 / 1.097 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.452e-06/1.045, allocations: 0 / 1.097 GB, free: 0.8789 MB / 0.8575 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.0006045/1.045, allocations: 0.5186 MB / 1.098 GB, free: 400 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.045, allocations: 10.58 kB / 1.098 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/1.046, allocations: 86.22 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/1.046, allocations: 252.5 kB / 1.098 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/1.046, allocations: 152 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/1.046, allocations: 152.1 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.517e-05/1.046, allocations: 109.6 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/1.046, allocations: 75.28 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/1.046, allocations: 156.1 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/1.046, allocations: 154.6 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/1.046, allocations: 151.5 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/1.046, allocations: 463 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/1.046, allocations: 174.1 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/1.047, allocations: 80.66 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/1.047, allocations: 75.28 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/1.047, allocations: 111.7 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/1.047, allocations: 0 / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/1.047, allocations: 37.05 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.047, allocations: 131.6 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/1.047, allocations: 136.9 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/1.047, allocations: 25.7 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/1.047, allocations: 101.4 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/1.047, allocations: 0 / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/1.047, allocations: 15.91 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.047, allocations: 318.4 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/1.047, allocations: 7.156 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/1.047, allocations: 7.859 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/1.047, allocations: 11.67 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.047, allocations: 3.938 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/1.047, allocations: 54.41 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.047, allocations: 6.391 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/1.048, allocations: 7.141 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.048, allocations: 1.094 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/1.048, allocations: 3.938 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.048, allocations: 0.5625 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/1.048, allocations: 13 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/1.048, allocations: 2.188 kB / 1.101 GB, free: 13.32 MB / 0.8731 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.919e-05/1.048, allocations: 182.9 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/1.048, allocations: 113.3 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/1.048, allocations: 107.9 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/1.048, allocations: 190.2 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-05/1.048, allocations: 181.7 kB / 1.101 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/1.048, allocations: 185.9 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/1.048, allocations: 409.8 kB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/1.048, allocations: 114.5 kB / 1.102 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/1.048, allocations: 102.6 kB / 1.102 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.4e-05/1.048, allocations: 182 kB / 1.102 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/1.048, allocations: 182.4 kB / 1.102 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.862e-05/1.049, allocations: 178.1 kB / 1.103 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-05/1.049, allocations: 181.8 kB / 1.103 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/1.049, allocations: 306.2 kB / 1.103 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/1.049, allocations: 193.6 kB / 1.103 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/1.049, allocations: 178.6 kB / 1.103 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/1.049, allocations: 110 kB / 1.104 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/1.049, allocations: 182.1 kB / 1.104 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/1.049, allocations: 106.5 kB / 1.104 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.914e-05/1.049, allocations: 99.62 kB / 1.104 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.049, allocations: 5.094 kB / 1.104 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001123/1.05, allocations: 278.1 kB / 1.104 GB, free: 9.688 MB / 0.8731 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.001255/1.052, allocations: 0.5291 MB / 1.105 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.052, allocations: 48.28 kB / 1.105 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.052, allocations: 0 / 1.105 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/1.052, allocations: 5.25 kB / 1.105 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/1.052, allocations: 461.3 kB / 1.105 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/1.053, allocations: 265.9 kB / 1.105 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.053, allocations: 0.6834 MB / 1.106 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/1.053, allocations: 8.625 kB / 1.106 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.053, allocations: 4.938 kB / 1.106 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.01379/1.067, allocations: 4.74 MB / 1.111 GB, free: 7.504 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches