Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00905/0.00905, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001717/0.001717, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.08 kB / 0.9509 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9103/0.9115, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002869/0.9144, allocations: 1.441 MB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004763/0.9192, allocations: 2.888 MB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.9193, allocations: 0 / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.9193, allocations: 5.906 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.9194, allocations: 15.44 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005002/0.9244, allocations: 1.584 MB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.9246, allocations: 45.62 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.9247, allocations: 3.766 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.9247, allocations: 17.95 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.9248, allocations: 13.03 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.9248, allocations: 1.406 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.9284, allocations: 1.533 MB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.9284, allocations: 10.38 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.9285, allocations: 24.8 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.9309, allocations: 1.104 MB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.9309, allocations: 1 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9309, allocations: 0.75 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.931, allocations: 0 / 1.096 GB, free: 0.8555 MB / 0.8575 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.000761/0.9317, allocations: 0.5327 MB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.9318, allocations: 8.594 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.9319, allocations: 79.48 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.9321, allocations: 261.7 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.9322, allocations: 151.5 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.9322, allocations: 152 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.9323, allocations: 106.8 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.9324, allocations: 79.28 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.9325, allocations: 154.6 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.9326, allocations: 152.3 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.9327, allocations: 151.9 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.9331, allocations: 464.4 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.9332, allocations: 166.9 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.9333, allocations: 85.14 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.9333, allocations: 79.27 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/0.9334, allocations: 111.5 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.885e-06/0.9334, allocations: 0 / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.605e-05/0.9335, allocations: 45.95 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.9336, allocations: 127.4 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.9338, allocations: 132 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.9338, allocations: 25.7 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.9339, allocations: 96.52 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.9339, allocations: 0.7188 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.934, allocations: 16.53 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9341, allocations: 318.3 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.9342, allocations: 8.578 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.9342, allocations: 3.25 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.9343, allocations: 19.67 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9343, allocations: 0 / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001536/0.9344, allocations: 57.81 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9344, allocations: 5.781 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.9345, allocations: 6.953 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9345, allocations: 1.75 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.9345, allocations: 0 / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.9345, allocations: 0.75 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.9346, allocations: 5.688 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.9346, allocations: 0.9688 kB / 1.1 GB, free: 13.29 MB / 0.8731 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.0001309/0.9347, allocations: 191.4 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.9348, allocations: 112.8 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.9349, allocations: 116.4 kB / 1.1 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.837e-05/0.935, allocations: 182.8 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.616e-05/0.935, allocations: 180.9 kB / 1.101 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.11e-05/0.9351, allocations: 182.6 kB / 1.101 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.9354, allocations: 412.9 kB / 1.101 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-05/0.9355, allocations: 111.1 kB / 1.101 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.9355, allocations: 102.7 kB / 1.101 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.9357, allocations: 182.1 kB / 1.102 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.9357, allocations: 182 kB / 1.102 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.628e-05/0.9358, allocations: 180.9 kB / 1.102 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.931e-05/0.9359, allocations: 178.7 kB / 1.102 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.9362, allocations: 310.8 kB / 1.102 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.9363, allocations: 189.1 kB / 1.103 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.9364, allocations: 190.5 kB / 1.103 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.9365, allocations: 106.6 kB / 1.103 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.9366, allocations: 178.1 kB / 1.103 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.9367, allocations: 110.7 kB / 1.103 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.9367, allocations: 98.89 kB / 1.103 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9367, allocations: 0 / 1.103 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001184/0.9379, allocations: 285.6 kB / 1.104 GB, free: 9.641 MB / 0.8731 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.00136/0.9393, allocations: 0.5438 MB / 1.104 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.9394, allocations: 39.14 kB / 1.104 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9395, allocations: 0.6562 kB / 1.104 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.9395, allocations: 8.797 kB / 1.104 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.94, allocations: 464.8 kB / 1.105 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.9404, allocations: 238.4 kB / 1.105 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.9408, allocations: 0.686 MB / 1.105 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.9408, allocations: 0.75 kB / 1.105 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.9408, allocations: 9.5 kB / 1.105 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9408, allocations: 0 / 1.105 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.01437/0.9552, allocations: 5.62 MB / 1.111 GB, free: 7.531 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x