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.InternalResistancesTwoUTube.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.001769/0.001769, allocations: 100.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001879/0.001879, allocations: 214.8 kB / 22.99 MB, free: 4.949 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.539/3.539, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 66.64 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4315, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003023/0.4346, allocations: 1.442 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005008/0.4396, allocations: 2.677 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.4396, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.4397, allocations: 3.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.4397, allocations: 23.78 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.4444, allocations: 1.637 MB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.4446, allocations: 47.67 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.4446, allocations: 8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.4447, allocations: 15.94 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.4447, allocations: 19.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.4447, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.4473, allocations: 1.478 MB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.4474, allocations: 11.98 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.4474, allocations: 15.88 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.4492, allocations: 1.103 MB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4492, allocations: 0 / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4492, allocations: 4 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4492, allocations: 0 / 1.335 GB, free: 9.285 MB / 1.029 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.0007223/0.4499, allocations: 468 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4499, allocations: 12.03 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.45, allocations: 80.17 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.4502, allocations: 197.8 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.4503, allocations: 154.9 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.4504, allocations: 150.9 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.4505, allocations: 113 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.4505, allocations: 75.28 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.4506, allocations: 154.6 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/0.4507, allocations: 150.6 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.4508, allocations: 150.6 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.4511, allocations: 417.6 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.4512, allocations: 169.1 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.4512, allocations: 80.14 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.4513, allocations: 83.28 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.131e-05/0.4514, allocations: 105.8 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4514, allocations: 3.938 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.032e-05/0.4515, allocations: 41.58 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.4515, allocations: 138.6 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.4517, allocations: 135.3 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4517, allocations: 25.7 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.4518, allocations: 96.08 kB / 1.338 GB, free: 6.188 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.4518, allocations: 0 / 1.338 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.4518, allocations: 21.72 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.452, allocations: 314.8 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.452, allocations: 8 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.452, allocations: 4 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.4521, allocations: 12.86 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4521, allocations: 0 / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001445/0.4522, allocations: 57.66 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4522, allocations: 7.938 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.4523, allocations: 4 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4523, allocations: 0 / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.4523, allocations: 0 / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4523, allocations: 4 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.4523, allocations: 3.953 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4523, allocations: 4.062 kB / 1.338 GB, free: 5.73 MB / 1.029 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.0001286/0.4525, allocations: 185.1 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.4525, allocations: 112.9 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.4526, allocations: 120.8 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.959e-05/0.4527, allocations: 176.3 kB / 1.339 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.962e-05/0.4528, allocations: 180.3 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.164e-05/0.4529, allocations: 180.2 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4531, allocations: 368.8 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-05/0.4532, allocations: 104.9 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.4532, allocations: 105 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.035e-05/0.4533, allocations: 180.2 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.593e-05/0.4534, allocations: 184.1 kB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.263e-05/0.4535, allocations: 188.2 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.86e-05/0.4536, allocations: 180.2 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.4538, allocations: 307.8 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.4538, allocations: 112.9 kB / 1.341 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.4539, allocations: 192.1 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.454, allocations: 104.9 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.4541, allocations: 176.3 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.4542, allocations: 108.9 kB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.4543, allocations: 105.9 kB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4543, allocations: 0 / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008761/0.4551, allocations: 295 kB / 1.341 GB, free: 1.949 MB / 1.029 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.001188/0.4563, allocations: 0.5572 MB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.4564, allocations: 37.69 kB / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4564, allocations: 0 / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.4564, allocations: 0 / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.4569, allocations: 463.7 kB / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.4574, allocations: 266.6 kB / 1.343 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.4574, allocations: 67.33 kB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.4575, allocations: 11.44 kB / 1.343 GB, free: 500 kB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4575, allocations: 0 / 1.343 GB, free: 500 kB / 1.029 GB Notification: Performance of Templates: time 0.009801/0.4673, allocations: 4.939 MB / 1.348 GB, free: 11.55 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.695358534809202]