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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001739, allocations: 120 kB / 16.42 MB, free: 6.496 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.001886/0.001886, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 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.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.88 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.878, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00214/0.8802, allocations: 1.434 MB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.8842, allocations: 2.849 MB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.8843, allocations: 0 / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.8843, allocations: 1.953 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.8844, allocations: 15.22 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.8882, allocations: 1.562 MB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.8883, allocations: 40.39 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.8883, allocations: 12.06 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.8884, allocations: 11.98 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.8884, allocations: 21.56 kB / 1.095 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.8884, allocations: 0.6875 kB / 1.095 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.8911, allocations: 1.479 MB / 1.096 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.8912, allocations: 10.67 kB / 1.096 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.8912, allocations: 15.97 kB / 1.096 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.893, allocations: 1.079 MB / 1.097 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.893, allocations: 0 / 1.097 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.893, allocations: 1 kB / 1.097 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8931, allocations: 0 / 1.097 GB, free: 0.9453 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.0006105/0.8937, allocations: 0.5087 MB / 1.098 GB, free: 476 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8937, allocations: 9 kB / 1.098 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.8938, allocations: 82.95 kB / 1.098 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.8939, allocations: 249.4 kB / 1.098 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.8939, allocations: 159.4 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.894, allocations: 152.4 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.8941, allocations: 106 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.8941, allocations: 75.8 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.8942, allocations: 155.6 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.8942, allocations: 154.5 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.8943, allocations: 156.3 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.8946, allocations: 464.9 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.8947, allocations: 166.8 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.8947, allocations: 80.14 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.8948, allocations: 83.22 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.8948, allocations: 115.5 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8948, allocations: 0 / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.703e-05/0.8949, allocations: 34.06 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.8949, allocations: 51.41 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.8951, allocations: 126.7 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.8951, allocations: 25.7 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.8952, allocations: 100.1 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.8952, allocations: 0.8125 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.8952, allocations: 15.83 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8954, allocations: 318.5 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.8954, allocations: 3.5 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.8954, allocations: 6.797 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.8955, allocations: 19.22 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8955, allocations: 0.8125 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.8956, allocations: 52.86 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8956, allocations: 7.969 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.8957, allocations: 3.312 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8957, allocations: 0.6094 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.8957, allocations: 0 / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.8957, allocations: 1.766 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.8957, allocations: 4.938 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.8957, allocations: 9.125 kB / 1.1 GB, free: 13.48 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 9.967e-05/0.8958, allocations: 189 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.8959, allocations: 117 kB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.896, allocations: 112.7 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.962e-05/0.8961, allocations: 181.8 kB / 1.101 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/0.8961, allocations: 106.9 kB / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.8962, allocations: 185.6 kB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.8963, allocations: 181.9 kB / 1.101 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.8964, allocations: 106.7 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.8964, allocations: 185.9 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.235e-05/0.8965, allocations: 257.8 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001641/0.8967, allocations: 389.9 kB / 1.102 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.874e-05/0.8967, allocations: 103 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.172e-05/0.8968, allocations: 95.91 kB / 1.102 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of Backend: time 5.01e-07/0.8968, allocations: 4.969 kB / 1.102 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.8986, allocations: 0.4974 MB / 1.103 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006396/0.8993, allocations: 0.9071 MB / 1.104 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01366/0.913, allocations: 6.216 MB / 1.11 GB, free: 9.668 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches