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.001567/0.001566, 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.001988/0.001988, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.514/1.514, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.84 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3711, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003272/0.3745, allocations: 1.501 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005018/0.3795, allocations: 2.973 MB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.3796, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.3797, allocations: 3.938 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.3798, allocations: 11.91 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004339/0.3841, allocations: 1.382 MB / 1.059 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.3842, allocations: 39.75 kB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.3843, allocations: 0 / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.3843, allocations: 19.92 kB / 1.059 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.3843, allocations: 19.88 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3844, allocations: 3.984 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.3868, allocations: 1.427 MB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3869, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.3869, allocations: 19.86 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.3883, allocations: 0.7723 MB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3884, allocations: 0 / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3884, allocations: 3.938 kB / 1.061 GB, free: 72 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3884, allocations: 0 / 1.061 GB, free: 72 kB / 0.8106 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.0008608/0.3893, allocations: 0.5186 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3893, allocations: 11.97 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.3894, allocations: 84.12 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.3896, allocations: 253.2 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.3896, allocations: 154.9 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.3897, allocations: 150.9 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.516e-05/0.3898, allocations: 113.1 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.3898, allocations: 75.28 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.3899, allocations: 150.6 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.39, allocations: 158.6 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.989e-05/0.39, allocations: 150.6 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3903, allocations: 469.9 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.3904, allocations: 165.1 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.3905, allocations: 80.14 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3905, allocations: 75.28 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.3906, allocations: 113.8 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.3906, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.067e-05/0.3907, allocations: 41.53 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3907, allocations: 126.7 kB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3909, allocations: 131.5 kB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3909, allocations: 25.7 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.391, allocations: 92.14 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.391, allocations: 0 / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.391, allocations: 17.72 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3912, allocations: 322.9 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.3912, allocations: 0 / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.3912, allocations: 4 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.3913, allocations: 16.86 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3913, allocations: 7.938 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.3914, allocations: 53.47 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3914, allocations: 4 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3915, allocations: 4 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3915, allocations: 4.062 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.3915, allocations: 4 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3915, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.3915, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3916, allocations: 4 kB / 1.064 GB, free: 12.32 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.0001136/0.3917, allocations: 193 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.3917, allocations: 112.8 kB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.3918, allocations: 112.8 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/0.3919, allocations: 184.3 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.105e-05/0.392, allocations: 192.2 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/0.392, allocations: 176.3 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.3923, allocations: 409.2 kB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-05/0.3924, allocations: 108.9 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.3924, allocations: 105 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.734e-05/0.3925, allocations: 192.2 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.3926, allocations: 176.3 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.804e-05/0.3927, allocations: 176.3 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-05/0.3927, allocations: 180.2 kB / 1.066 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3929, allocations: 319.7 kB / 1.067 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.393, allocations: 182 kB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.3931, allocations: 180.3 kB / 1.067 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.3932, allocations: 108.9 kB / 1.067 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.3932, allocations: 176.3 kB / 1.067 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.3933, allocations: 116.9 kB / 1.067 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.3934, allocations: 104.7 kB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3934, allocations: 0 / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009581/0.3943, allocations: 279.8 kB / 1.068 GB, free: 8.395 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.001452/0.3958, allocations: 0.5182 MB / 1.068 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3959, allocations: 41.7 kB / 1.068 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3959, allocations: 0 / 1.068 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.3959, allocations: 0 / 1.068 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3964, allocations: 0.5301 MB / 1.069 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.3968, allocations: 267.6 kB / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.397, allocations: 0.6809 MB / 1.07 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.397, allocations: 7.438 kB / 1.07 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.397, allocations: 0 / 1.07 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of Templates: time 0.008843/0.4059, allocations: 4.639 MB / 1.074 GB, free: 1.637 MB / 0.8262 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