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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001777/0.001777, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001735/0.001735, allocations: 187 kB / 17.34 MB, free: 5.766 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 60.12 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003452/1.01, allocations: 1.431 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005243/1.015, allocations: 2.867 MB / 1.213 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/1.015, allocations: 0 / 1.213 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/1.015, allocations: 3.938 kB / 1.213 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/1.015, allocations: 19.84 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004414/1.02, allocations: 1.538 MB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000117/1.02, allocations: 51.66 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/1.02, allocations: 3.797 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/1.02, allocations: 19.92 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/1.02, allocations: 15.94 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/1.02, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/1.023, allocations: 1.49 MB / 1.216 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/1.023, allocations: 7.922 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/1.023, allocations: 15.88 kB / 1.216 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/1.025, allocations: 1.078 MB / 1.217 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.025, allocations: 4 kB / 1.217 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/1.025, allocations: 0 / 1.217 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.025, allocations: 0 / 1.217 GB, free: 5.086 MB / 0.9356 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.0009195/1.026, allocations: 0.5145 MB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.026, allocations: 8.031 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/1.026, allocations: 80.22 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/1.026, allocations: 255.5 kB / 1.218 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/1.026, allocations: 154.9 kB / 1.218 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/1.026, allocations: 158.9 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.158e-05/1.026, allocations: 113.1 kB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/1.026, allocations: 75.28 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/1.026, allocations: 150.6 kB / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/1.026, allocations: 150.6 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.641e-05/1.027, allocations: 150.6 kB / 1.219 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/1.027, allocations: 469.8 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/1.027, allocations: 169.1 kB / 1.219 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/1.027, allocations: 84.14 kB / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/1.027, allocations: 75.28 kB / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/1.027, allocations: 117.8 kB / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/1.027, allocations: 0 / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.124e-05/1.027, allocations: 29.64 kB / 1.219 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/1.027, allocations: 130.6 kB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.028, allocations: 135.6 kB / 1.22 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/1.028, allocations: 29.7 kB / 1.22 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/1.028, allocations: 88.12 kB / 1.22 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/1.028, allocations: 3.938 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/1.028, allocations: 25.72 kB / 1.22 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.028, allocations: 314.8 kB / 1.22 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/1.028, allocations: 4 kB / 1.22 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/1.028, allocations: 8 kB / 1.22 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/1.028, allocations: 8.859 kB / 1.22 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.028, allocations: 0 / 1.22 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001553/1.028, allocations: 53.56 kB / 1.22 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.028, allocations: 8 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.028, allocations: 0 / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.028, allocations: 4.062 kB / 1.22 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/1.028, allocations: 0 / 1.22 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.028, allocations: 4 kB / 1.22 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/1.028, allocations: 3.906 kB / 1.22 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/1.028, allocations: 4 kB / 1.22 GB, free: 1.336 MB / 0.9356 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.0001163/1.028, allocations: 185.1 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/1.028, allocations: 113 kB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/1.028, allocations: 116.8 kB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/1.029, allocations: 184.3 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.912e-05/1.029, allocations: 176.3 kB / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.679e-05/1.029, allocations: 184.2 kB / 1.221 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/1.029, allocations: 413.2 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.338e-05/1.029, allocations: 108.9 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/1.029, allocations: 109 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-05/1.029, allocations: 176.3 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/1.029, allocations: 180.2 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-05/1.029, allocations: 180.2 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-05/1.029, allocations: 188.2 kB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/1.03, allocations: 307.7 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.03, allocations: 189.9 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/1.03, allocations: 184.3 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/1.03, allocations: 104.9 kB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/1.03, allocations: 180.3 kB / 1.223 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/1.03, allocations: 112.9 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.585e-05/1.03, allocations: 105.4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.784e-06/1.03, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009047/1.031, allocations: 279.7 kB / 1.224 GB, free: 13.41 MB / 0.9512 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.001447/1.033, allocations: 0.5136 MB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001357/1.033, allocations: 41.69 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.033, allocations: 0 / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/1.033, allocations: 4 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/1.033, allocations: 460.1 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/1.034, allocations: 274.9 kB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.034, allocations: 0.6807 MB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/1.034, allocations: 7.438 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/1.034, allocations: 7.938 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of Templates: time 0.009606/1.044, allocations: 4.629 MB / 1.23 GB, free: 6.746 MB / 0.9512 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