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.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 249.9 MB, free: 13.48 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 443.5 MB / 0.731 GB, free: 12.79 MB / 0.5919 GB [Timeout remaining time 87] 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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=500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 1.06 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 160.7 MB / 1.217 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003207/1.167, allocations: 1.442 MB / 1.218 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005394/1.173, allocations: 2.924 MB / 1.221 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/1.173, allocations: 0 / 1.221 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/1.173, allocations: 3.938 kB / 1.221 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.472e-05/1.173, allocations: 18.03 kB / 1.221 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/1.178, allocations: 1.595 MB / 1.222 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/1.178, allocations: 46.59 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/1.178, allocations: 6.234 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/1.178, allocations: 12.91 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/1.178, allocations: 23.59 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/1.178, allocations: 1.125 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/1.181, allocations: 1.574 MB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/1.181, allocations: 2.062 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/1.181, allocations: 23.39 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/1.183, allocations: 1.114 MB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.183, allocations: 1.344 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/1.183, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.183, allocations: 0 / 1.225 GB, free: 13.89 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.0007616/1.184, allocations: 0.5347 MB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.184, allocations: 10.03 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/1.184, allocations: 90.77 kB / 1.226 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/1.184, allocations: 248.9 kB / 1.226 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/1.184, allocations: 154.9 kB / 1.226 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/1.185, allocations: 152.3 kB / 1.226 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.537e-05/1.185, allocations: 109.1 kB / 1.226 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/1.185, allocations: 75.28 kB / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/1.185, allocations: 156 kB / 1.227 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-05/1.185, allocations: 150.6 kB / 1.227 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/1.185, allocations: 154.6 kB / 1.227 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/1.185, allocations: 465.9 kB / 1.227 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/1.186, allocations: 170.5 kB / 1.228 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/1.186, allocations: 80.14 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/1.186, allocations: 80.61 kB / 1.228 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/1.186, allocations: 113.8 kB / 1.228 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/1.186, allocations: 1.438 kB / 1.228 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.869e-05/1.186, allocations: 36.31 kB / 1.228 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.186, allocations: 126.7 kB / 1.228 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/1.186, allocations: 138.2 kB / 1.228 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.186, allocations: 25.7 kB / 1.228 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/1.186, allocations: 98.39 kB / 1.228 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/1.186, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/1.186, allocations: 20.22 kB / 1.228 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.186, allocations: 320 kB / 1.229 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/1.186, allocations: 2.875 kB / 1.229 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/1.186, allocations: 11.78 kB / 1.229 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/1.186, allocations: 11.45 kB / 1.229 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.186, allocations: 0 / 1.229 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001489/1.187, allocations: 55.59 kB / 1.229 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.187, allocations: 5.375 kB / 1.229 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.187, allocations: 8.219 kB / 1.229 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.187, allocations: 4.062 kB / 1.229 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/1.187, allocations: 0 / 1.229 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.187, allocations: 1.5 kB / 1.229 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/1.187, allocations: 3.953 kB / 1.229 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/1.187, allocations: 1.281 kB / 1.229 GB, free: 10.27 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.0001361/1.187, allocations: 183.3 kB / 1.229 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.187, allocations: 123.4 kB / 1.229 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/1.187, allocations: 111.6 kB / 1.229 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.763e-05/1.187, allocations: 188.3 kB / 1.229 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.581e-05/1.187, allocations: 181.4 kB / 1.229 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-05/1.187, allocations: 177.7 kB / 1.23 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/1.188, allocations: 411.5 kB / 1.23 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-05/1.188, allocations: 114.2 kB / 1.23 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/1.188, allocations: 110.1 kB / 1.23 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.907e-05/1.188, allocations: 181.5 kB / 1.23 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/1.188, allocations: 176.3 kB / 1.231 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.06e-05/1.188, allocations: 181.4 kB / 1.231 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.775e-05/1.188, allocations: 181.9 kB / 1.231 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/1.188, allocations: 308.4 kB / 1.231 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.188, allocations: 192.6 kB / 1.231 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.189, allocations: 181.6 kB / 1.232 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/1.189, allocations: 106.3 kB / 1.232 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/1.189, allocations: 180.3 kB / 1.232 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/1.189, allocations: 114.1 kB / 1.232 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.715e-05/1.189, allocations: 102.8 kB / 1.232 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.189, allocations: 0 / 1.232 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001146/1.19, allocations: 290.4 kB / 1.232 GB, free: 6.57 MB / 0.9356 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.001229/1.191, allocations: 0.5348 MB / 1.233 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001196/1.191, allocations: 37.36 kB / 1.233 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.191, allocations: 1.375 kB / 1.233 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/1.191, allocations: 0 / 1.233 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/1.192, allocations: 471.9 kB / 1.233 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/1.192, allocations: 271.8 kB / 1.234 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/1.193, allocations: 0.6847 MB / 1.234 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/1.193, allocations: 9.938 kB / 1.234 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/1.193, allocations: 0 / 1.234 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.009892/1.203, allocations: 4.759 MB / 1.239 GB, free: 0.4961 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x