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.002274/0.002274, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00289/0.00289, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.639/1.639, 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 2.98/2.98, allocations: 377.8 MB / 0.6232 GB, free: 8.5 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 2.154e-06/2.154e-06, allocations: 0 / 0.8109 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.36e-05, allocations: 2.312 kB / 0.8109 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003101/0.003135, allocations: 1.44 MB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005287/0.008422, allocations: 2.641 MB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.008478, allocations: 0 / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.008511, allocations: 3.938 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.0086, allocations: 15.84 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.01343, allocations: 1.62 MB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.01354, allocations: 43.67 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.01358, allocations: 7.984 kB / 0.8165 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.01364, allocations: 19.98 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.01367, allocations: 11.94 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.01368, allocations: 0 / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.01638, allocations: 1.459 MB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.0164, allocations: 4 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.01643, allocations: 7.938 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.01852, allocations: 1.247 MB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.01853, allocations: 0.5312 kB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01853, allocations: 0 / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.01853, allocations: 0.5625 kB / 0.8192 GB, free: 9.496 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.0007909/0.01932, allocations: 469 kB / 0.8197 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.01937, allocations: 15.95 kB / 0.8197 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.01947, allocations: 80.22 kB / 0.8198 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.01966, allocations: 193.9 kB / 0.8199 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.01976, allocations: 150.9 kB / 0.8201 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.01987, allocations: 156 kB / 0.8202 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.02006, allocations: 101.5 kB / 0.8203 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.02011, allocations: 75.47 kB / 0.8204 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.02021, allocations: 155.3 kB / 0.8206 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.337e-05/0.02029, allocations: 158.6 kB / 0.8207 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.289e-05/0.02037, allocations: 159.3 kB / 0.8209 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.02074, allocations: 409.6 kB / 0.8213 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.02087, allocations: 174.2 kB / 0.8214 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.02093, allocations: 84.14 kB / 0.8215 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.02098, allocations: 75.28 kB / 0.8216 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.981e-05/0.02106, allocations: 106.9 kB / 0.8217 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.02106, allocations: 3.938 kB / 0.8217 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.547e-05/0.02115, allocations: 30.8 kB / 0.8217 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.02124, allocations: 130.6 kB / 0.8218 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.02144, allocations: 136 kB / 0.822 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.02146, allocations: 26.77 kB / 0.822 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.02154, allocations: 92.12 kB / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.02154, allocations: 0 / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.02158, allocations: 18.75 kB / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.02178, allocations: 322.8 kB / 0.8224 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.02181, allocations: 4 kB / 0.8224 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.02182, allocations: 0.5938 kB / 0.8224 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.02187, allocations: 22.2 kB / 0.8224 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02188, allocations: 0 / 0.8224 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001643/0.02204, allocations: 45.64 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.02206, allocations: 8 kB / 0.8225 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.02208, allocations: 1.625 kB / 0.8225 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.02211, allocations: 3.938 kB / 0.8225 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.02211, allocations: 0 / 0.8225 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.02211, allocations: 4 kB / 0.8225 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.02213, allocations: 1.188 kB / 0.8225 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.02214, allocations: 0 / 0.8225 GB, free: 5.984 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.0001465/0.02229, allocations: 193.1 kB / 0.8227 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.02238, allocations: 116.2 kB / 0.8228 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.02246, allocations: 108.8 kB / 0.8229 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/0.02256, allocations: 180.2 kB / 0.8231 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001138/0.02267, allocations: 188.2 kB / 0.8232 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/0.02278, allocations: 176.3 kB / 0.8234 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.02307, allocations: 368.8 kB / 0.8238 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.059e-05/0.02313, allocations: 105 kB / 0.8239 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.02319, allocations: 104.9 kB / 0.824 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.213e-05/0.02329, allocations: 184.2 kB / 0.8241 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/0.02339, allocations: 181.2 kB / 0.8243 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001072/0.02349, allocations: 188.2 kB / 0.8245 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001005/0.02359, allocations: 184.8 kB / 0.8247 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.02381, allocations: 307.8 kB / 0.825 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.02389, allocations: 113 kB / 0.8251 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.02401, allocations: 188.2 kB / 0.8252 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.02411, allocations: 101.3 kB / 0.8253 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.02422, allocations: 184.1 kB / 0.8255 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.02428, allocations: 105 kB / 0.8256 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.327e-05/0.02436, allocations: 101.1 kB / 0.8257 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02436, allocations: 0 / 0.8257 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009491/0.02531, allocations: 291 kB / 0.826 GB, free: 2.219 MB / 0.7761 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.00134/0.02665, allocations: 0.5763 MB / 0.8265 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.02677, allocations: 37.7 kB / 0.8266 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02677, allocations: 3.938 kB / 0.8266 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.02678, allocations: 0 / 0.8266 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.02731, allocations: 459.7 kB / 0.827 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.02773, allocations: 233.6 kB / 0.8272 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.605e-05/0.02782, allocations: 75.39 kB / 0.8273 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.02783, allocations: 0 / 0.8273 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.02786, allocations: 8.5 kB / 0.8273 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.02786, allocations: 0 / 0.8273 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of Templates: time 0.01242/0.04027, allocations: 5.793 MB / 0.833 GB, free: 11.04 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] 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.655384868965484]