Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 120.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.08 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4055, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003138/0.4086, allocations: 1.434 MB / 1.216 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005009/0.4136, allocations: 2.873 MB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.4137, allocations: 3.938 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.4137, allocations: 7.922 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.4138, allocations: 15.86 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.4185, allocations: 1.57 MB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.4186, allocations: 43.67 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.4187, allocations: 4 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.4187, allocations: 15.94 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.4187, allocations: 19.92 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4188, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.4218, allocations: 1.533 MB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.4218, allocations: 7.922 kB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.4218, allocations: 15.88 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.4237, allocations: 1.083 MB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4237, allocations: 0 / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4237, allocations: 0 / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4237, allocations: 0 / 1.223 GB, free: 8.273 MB / 0.9669 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.0007686/0.4245, allocations: 0.5306 MB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4245, allocations: 8.031 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.4246, allocations: 92.05 kB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4248, allocations: 261.5 kB / 1.223 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.4249, allocations: 154.9 kB / 1.224 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.425, allocations: 150.9 kB / 1.224 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.4251, allocations: 109.1 kB / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.4251, allocations: 75.28 kB / 1.224 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.4252, allocations: 150.6 kB / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.4253, allocations: 150.6 kB / 1.224 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.4254, allocations: 158.5 kB / 1.224 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.4258, allocations: 461.9 kB / 1.225 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4259, allocations: 173.2 kB / 1.225 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.426, allocations: 80.14 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.426, allocations: 79.28 kB / 1.225 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.486e-05/0.4261, allocations: 113.8 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4261, allocations: 4 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.209e-05/0.4262, allocations: 37.59 kB / 1.225 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.4263, allocations: 130.7 kB / 1.225 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4265, allocations: 131.3 kB / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4265, allocations: 25.7 kB / 1.226 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.4265, allocations: 92.14 kB / 1.226 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.4265, allocations: 0 / 1.226 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.4266, allocations: 13.72 kB / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4268, allocations: 326.8 kB / 1.226 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.4268, allocations: 0 / 1.226 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.4268, allocations: 8 kB / 1.226 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.4268, allocations: 8.859 kB / 1.226 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4268, allocations: 3.938 kB / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/0.427, allocations: 57.58 kB / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.427, allocations: 4 kB / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.427, allocations: 7.938 kB / 1.226 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4271, allocations: 0 / 1.226 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.4271, allocations: 4.062 kB / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4271, allocations: 0 / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.4271, allocations: 3.938 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4271, allocations: 4 kB / 1.226 GB, free: 4.496 MB / 0.9669 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.0001458/0.4272, allocations: 185.1 kB / 1.226 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.4273, allocations: 116.8 kB / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.4274, allocations: 108.9 kB / 1.226 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.4275, allocations: 184.3 kB / 1.227 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/0.4276, allocations: 180.2 kB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.741e-05/0.4277, allocations: 180.2 kB / 1.227 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.4281, allocations: 417.2 kB / 1.227 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-05/0.4281, allocations: 108.9 kB / 1.227 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.4282, allocations: 105 kB / 1.228 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.4283, allocations: 180.2 kB / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.4284, allocations: 184.2 kB / 1.228 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001164/0.4285, allocations: 180.2 kB / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001087/0.4286, allocations: 184.3 kB / 1.228 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.4289, allocations: 311.7 kB / 1.229 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.429, allocations: 194 kB / 1.229 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4292, allocations: 184.2 kB / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.4293, allocations: 105 kB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4294, allocations: 176.3 kB / 1.229 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.4295, allocations: 112.9 kB / 1.229 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.163e-05/0.4295, allocations: 97.14 kB / 1.229 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4295, allocations: 0 / 1.229 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001126/0.4307, allocations: 283 kB / 1.23 GB, free: 0.5742 MB / 0.9669 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.001266/0.4319, allocations: 0.5249 MB / 1.23 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.4321, allocations: 33.7 kB / 1.23 GB, free: 0 / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4321, allocations: 4.109 kB / 1.23 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-06/0.4321, allocations: 3.938 kB / 1.23 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.4326, allocations: 470.5 kB / 1.231 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.4331, allocations: 269.7 kB / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.4335, allocations: 0.6807 MB / 1.232 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.4335, allocations: 11.44 kB / 1.232 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4335, allocations: 0 / 1.232 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.01014/0.4436, allocations: 4.644 MB / 1.236 GB, free: 9.879 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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,Rgb,Rgg,time,x [Calling sys.exit(0), Time elapsed: 13.053933158982545]