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.InternalResistancesOneUTubeNegative.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009735, allocations: 92.16 kB / 16.02 MB, free: 80 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.001521/0.001521, allocations: 173 kB / 16.92 MB, free: 6.652 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.548/1.548, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.9/2.9, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 12.92 kB / 0.9035 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4012, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002064/0.4033, allocations: 1.158 MB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005325/0.4087, allocations: 2.911 MB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.4088, allocations: 0 / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.4088, allocations: 4 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.4089, allocations: 15.86 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.4133, allocations: 1.368 MB / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.4134, allocations: 39.75 kB / 1.065 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.4135, allocations: 0 / 1.065 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.4135, allocations: 19.91 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.4136, allocations: 19.88 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.4136, allocations: 4 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.4163, allocations: 1.427 MB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4164, allocations: 0 / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.4164, allocations: 49.56 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.418, allocations: 0.7683 MB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.418, allocations: 0 / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.418, allocations: 0 / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.418, allocations: 0 / 1.067 GB, free: 13.14 MB / 0.8262 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.0009004/0.4189, allocations: 0.5069 MB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4189, allocations: 15.97 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.419, allocations: 80.22 kB / 1.068 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.4192, allocations: 255.4 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.4193, allocations: 150.9 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.4194, allocations: 154.9 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.229e-05/0.4194, allocations: 109.1 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.4195, allocations: 79.28 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.4195, allocations: 150.6 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.4196, allocations: 150.6 kB / 1.069 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.4197, allocations: 154.6 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.42, allocations: 457.9 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.4201, allocations: 177.1 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.4201, allocations: 80.14 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.4202, allocations: 75.28 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.4202, allocations: 113.8 kB / 1.07 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4203, allocations: 0 / 1.07 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.952e-05/0.4203, allocations: 37.7 kB / 1.07 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.4204, allocations: 130.6 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.4206, allocations: 131.3 kB / 1.07 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4206, allocations: 25.7 kB / 1.07 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.4207, allocations: 92.14 kB / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-06/0.4207, allocations: 0 / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.4207, allocations: 13.7 kB / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4208, allocations: 318.8 kB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.4209, allocations: 8 kB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.4209, allocations: 0 / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.4209, allocations: 20.91 kB / 1.07 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4209, allocations: 3.984 kB / 1.07 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.4211, allocations: 61.36 kB / 1.07 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4211, allocations: 4 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.4211, allocations: 4 kB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4212, allocations: 0 / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.4212, allocations: 0 / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4212, allocations: 0 / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.4212, allocations: 8.062 kB / 1.07 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4212, allocations: 3.984 kB / 1.07 GB, free: 9.402 MB / 0.8262 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.0001167/0.4213, allocations: 181.1 kB / 1.071 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.4214, allocations: 112.8 kB / 1.071 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.4215, allocations: 112.8 kB / 1.071 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/0.4216, allocations: 180.3 kB / 1.071 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.399e-05/0.4217, allocations: 188.3 kB / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/0.4217, allocations: 184.3 kB / 1.071 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.422, allocations: 413.2 kB / 1.072 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.422, allocations: 108.9 kB / 1.072 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.4221, allocations: 105 kB / 1.072 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-05/0.4222, allocations: 188.2 kB / 1.072 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/0.4223, allocations: 180.2 kB / 1.072 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.178e-05/0.4223, allocations: 176.3 kB / 1.072 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.579e-05/0.4224, allocations: 180.2 kB / 1.073 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.4226, allocations: 311.8 kB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.4227, allocations: 189.9 kB / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.4228, allocations: 184.3 kB / 1.073 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.4229, allocations: 104.9 kB / 1.073 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.423, allocations: 184.2 kB / 1.074 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.423, allocations: 104.9 kB / 1.074 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.778e-05/0.4231, allocations: 97.3 kB / 1.074 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4231, allocations: 4 kB / 1.074 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009549/0.424, allocations: 279.8 kB / 1.074 GB, free: 5.492 MB / 0.8262 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.001435/0.4255, allocations: 0.5226 MB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4256, allocations: 33.7 kB / 1.075 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4256, allocations: 0 / 1.075 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-06/0.4256, allocations: 4.062 kB / 1.075 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4261, allocations: 0.5302 MB / 1.075 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.4265, allocations: 290.5 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4268, allocations: 0.6809 MB / 1.076 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.4268, allocations: 7.438 kB / 1.076 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4268, allocations: 0 / 1.076 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of Templates: time 0.00929/0.4361, allocations: 4.643 MB / 1.081 GB, free: 14.71 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg,time,x