Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.094/3.094, allocations: 377.9 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8109 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.227e-05, allocations: 4.094 kB / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003127/0.003159, allocations: 1.475 MB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005327/0.008486, allocations: 2.771 MB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.008532, allocations: 0 / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.008558, allocations: 4.844 kB / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.008657, allocations: 19.84 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.01311, allocations: 1.625 MB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.01323, allocations: 43.66 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.01327, allocations: 4 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.258e-05/0.01333, allocations: 15.98 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.01336, allocations: 17.64 kB / 0.8167 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.01338, allocations: 4 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.01604, allocations: 1.454 MB / 0.8182 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.01606, allocations: 0 / 0.8182 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.01609, allocations: 16.42 kB / 0.8182 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.01806, allocations: 1.24 MB / 0.8194 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.01807, allocations: 4 kB / 0.8194 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01807, allocations: 0 / 0.8194 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.01807, allocations: 0.7812 kB / 0.8194 GB, free: 9.336 MB / 0.7761 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.0007724/0.01885, allocations: 0.5566 MB / 0.8199 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.01888, allocations: 14 kB / 0.82 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.019, allocations: 124.1 kB / 0.8201 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.01921, allocations: 247.6 kB / 0.8203 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.01935, allocations: 238.8 kB / 0.8205 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.01948, allocations: 238.8 kB / 0.8208 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.0196, allocations: 150.8 kB / 0.8209 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/0.01966, allocations: 119.4 kB / 0.821 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.01979, allocations: 250.5 kB / 0.8213 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.01991, allocations: 238.4 kB / 0.8215 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.02006, allocations: 243.1 kB / 0.8217 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.02055, allocations: 0.5875 MB / 0.8223 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.02077, allocations: 262.1 kB / 0.8225 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.02085, allocations: 126.9 kB / 0.8227 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.02092, allocations: 122.9 kB / 0.8228 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.02103, allocations: 156.6 kB / 0.8229 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.02103, allocations: 0 / 0.8229 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.02113, allocations: 41.62 kB / 0.823 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.02125, allocations: 174.5 kB / 0.8231 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.02149, allocations: 196.8 kB / 0.8233 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.02151, allocations: 25.7 kB / 0.8234 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.02162, allocations: 138.9 kB / 0.8235 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.02162, allocations: 0 / 0.8235 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.02167, allocations: 25.17 kB / 0.8235 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002998/0.02197, allocations: 496.1 kB / 0.824 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.02199, allocations: 4 kB / 0.824 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.02201, allocations: 4 kB / 0.824 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.02206, allocations: 19.67 kB / 0.824 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.02207, allocations: 8.969 kB / 0.824 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000165/0.02223, allocations: 45.69 kB / 0.8241 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.02225, allocations: 4 kB / 0.8241 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.02227, allocations: 5.125 kB / 0.8241 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.02229, allocations: 0 / 0.8241 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.02229, allocations: 3.938 kB / 0.8241 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.0223, allocations: 5.016 kB / 0.8241 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.02232, allocations: 4 kB / 0.8241 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.02233, allocations: 2.469 kB / 0.8241 GB, free: 4.336 MB / 0.7761 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.0001936/0.02252, allocations: 279.7 kB / 0.8243 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.02262, allocations: 156.8 kB / 0.8245 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.02271, allocations: 152.7 kB / 0.8246 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001489/0.02286, allocations: 268.1 kB / 0.8249 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002921/0.02315, allocations: 276 kB / 0.8252 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000142/0.0233, allocations: 265.8 kB / 0.8254 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.02366, allocations: 0.4998 MB / 0.8259 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.661e-05/0.02373, allocations: 144.9 kB / 0.826 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.718e-05/0.02382, allocations: 144.9 kB / 0.8262 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.02398, allocations: 276.2 kB / 0.8264 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.02414, allocations: 272.6 kB / 0.8267 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001405/0.02428, allocations: 269.3 kB / 0.827 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001543/0.02444, allocations: 272.1 kB / 0.8272 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.02473, allocations: 451.9 kB / 0.8277 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.02482, allocations: 152.8 kB / 0.8278 GB, free: 376 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.02496, allocations: 276.1 kB / 0.8281 GB, free: 92 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.02511, allocations: 148.9 kB / 0.8282 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.02527, allocations: 275.9 kB / 0.8285 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/0.02536, allocations: 152.9 kB / 0.8286 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.737e-05/0.02546, allocations: 139.2 kB / 0.8287 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02546, allocations: 0 / 0.8287 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008907/0.02635, allocations: 287 kB / 0.829 GB, free: 15.09 MB / 0.7917 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.001329/0.02768, allocations: 0.6211 MB / 0.8296 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.02781, allocations: 45.38 kB / 0.8297 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02781, allocations: 0 / 0.8297 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-06/0.02782, allocations: 3.938 kB / 0.8297 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.02844, allocations: 0.7062 MB / 0.8304 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.0289, allocations: 282.8 kB / 0.8306 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.508e-05/0.02898, allocations: 71.41 kB / 0.8307 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.334e-05/0.02899, allocations: 3.938 kB / 0.8307 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.02902, allocations: 8.5 kB / 0.8307 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of SimCode: time 1.272e-06/0.02902, allocations: 0 / 0.8307 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of Templates: time 0.01247/0.04149, allocations: 5.818 MB / 0.8364 GB, free: 7.52 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 8.806856567971408]