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.001277/0.001277, allocations: 107.2 kB / 16.41 MB, free: 6.477 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.001289/0.001289, allocations: 183 kB / 17.34 MB, free: 5.754 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.88 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, 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.00288/1.008, allocations: 1.438 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004625/1.013, allocations: 2.887 MB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/1.013, allocations: 0.875 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/1.013, allocations: 5.531 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/1.013, allocations: 16 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/1.018, allocations: 1.585 MB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/1.019, allocations: 45.67 kB / 1.095 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/1.019, allocations: 7.828 kB / 1.095 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/1.019, allocations: 12.88 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/1.019, allocations: 13.23 kB / 1.095 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/1.019, allocations: 1.656 kB / 1.095 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/1.022, allocations: 1.534 MB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/1.022, allocations: 13.53 kB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/1.022, allocations: 21.02 kB / 1.096 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/1.024, allocations: 1.098 MB / 1.097 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.024, allocations: 0 / 1.097 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/1.024, allocations: 1.156 kB / 1.097 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.024, allocations: 0.6094 kB / 1.097 GB, free: 0.8828 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.0006724/1.025, allocations: 0.515 MB / 1.098 GB, free: 408 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.025, allocations: 8.688 kB / 1.098 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/1.025, allocations: 82.38 kB / 1.098 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/1.025, allocations: 258.4 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/1.025, allocations: 151.7 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/1.025, allocations: 152.1 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.719e-05/1.025, allocations: 110.1 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.026, allocations: 75.28 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/1.026, allocations: 151.4 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/1.026, allocations: 155.6 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/1.026, allocations: 150.6 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/1.026, allocations: 462.5 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/1.026, allocations: 174.9 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/1.026, allocations: 84.14 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/1.026, allocations: 76.34 kB / 1.1 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/1.026, allocations: 110.4 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 3.046e-06/1.026, allocations: 1.125 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.078e-05/1.026, allocations: 36.84 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/1.026, allocations: 127.5 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.027, allocations: 137.8 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/1.027, allocations: 31.36 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/1.027, allocations: 95.78 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/1.027, allocations: 0 / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/1.027, allocations: 20.48 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.027, allocations: 318.8 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/1.027, allocations: 7.469 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/1.027, allocations: 4.75 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/1.027, allocations: 19.09 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.027, allocations: 0 / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001328/1.027, allocations: 50.48 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.027, allocations: 5.812 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/1.027, allocations: 7.75 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.027, allocations: 0 / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/1.027, allocations: 4.875 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.027, allocations: 0.75 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/1.027, allocations: 8.719 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/1.027, allocations: 5.906 kB / 1.101 GB, free: 13.33 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 0.0001099/1.027, allocations: 191 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/1.027, allocations: 112 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/1.027, allocations: 110.2 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-05/1.028, allocations: 184.8 kB / 1.101 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.227e-05/1.028, allocations: 178 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/1.028, allocations: 190 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/1.028, allocations: 408.9 kB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.028, allocations: 106.9 kB / 1.102 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/1.028, allocations: 107 kB / 1.102 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.263e-05/1.028, allocations: 178.3 kB / 1.102 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/1.028, allocations: 190.1 kB / 1.102 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.697e-05/1.028, allocations: 177.9 kB / 1.103 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.978e-05/1.028, allocations: 182 kB / 1.103 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/1.028, allocations: 306.2 kB / 1.103 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/1.028, allocations: 193.4 kB / 1.103 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/1.029, allocations: 182 kB / 1.103 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/1.029, allocations: 110.8 kB / 1.104 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/1.029, allocations: 177.7 kB / 1.104 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/1.029, allocations: 106.7 kB / 1.104 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.374e-05/1.029, allocations: 103.9 kB / 1.104 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.029, allocations: 0 / 1.104 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001151/1.03, allocations: 278.2 kB / 1.104 GB, free: 9.691 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.001274/1.031, allocations: 0.5367 MB / 1.105 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001125/1.031, allocations: 40.3 kB / 1.105 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.031, allocations: 0 / 1.105 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/1.031, allocations: 9.125 kB / 1.105 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/1.032, allocations: 464.4 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.0003897/1.032, allocations: 260.4 kB / 1.105 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/1.032, allocations: 0.6865 MB / 1.106 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/1.032, allocations: 9.438 kB / 1.106 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.032, allocations: 0 / 1.106 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of Templates: time 0.01261/1.045, allocations: 4.737 MB / 1.111 GB, free: 7.508 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