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.006813/0.006813, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001442/0.001442, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 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.223/2.223, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.9509 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9657/0.9669, allocations: 140.4 MB / 1.088 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002539/0.9695, allocations: 1.429 MB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.9738, allocations: 2.838 MB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.9739, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.9739, allocations: 6.188 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.974, allocations: 16.5 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.9783, allocations: 1.57 MB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.9784, allocations: 36.47 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.9784, allocations: 8.188 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.9785, allocations: 15.86 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.859e-05/0.9785, allocations: 18.23 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.9785, allocations: 0.8125 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.9813, allocations: 1.491 MB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.9814, allocations: 2.75 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.9814, allocations: 19.64 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.9834, allocations: 1.077 MB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9834, allocations: 0 / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9834, allocations: 0 / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.9834, allocations: 0.75 kB / 1.096 GB, free: 1.18 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.0006774/0.9841, allocations: 0.5268 MB / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.9841, allocations: 9.344 kB / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.9842, allocations: 86.84 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.9843, allocations: 254.3 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.9843, allocations: 150.9 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.9844, allocations: 152.1 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.9844, allocations: 110.8 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.9845, allocations: 75.28 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.9845, allocations: 151.1 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.9846, allocations: 151.6 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.9847, allocations: 154.5 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.985, allocations: 470 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.9851, allocations: 170.2 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.9851, allocations: 80.84 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.9851, allocations: 76.25 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.9852, allocations: 119.4 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.9852, allocations: 0 / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.695e-05/0.9853, allocations: 29.27 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.9853, allocations: 126.7 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.9855, allocations: 130.2 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.9855, allocations: 26.83 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.9856, allocations: 91.95 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.9856, allocations: 0 / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.9856, allocations: 23.83 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9858, allocations: 315.1 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.9858, allocations: 6.828 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.9858, allocations: 4.156 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.9859, allocations: 19.03 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9859, allocations: 0 / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.986, allocations: 49.39 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.986, allocations: 7.812 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.9861, allocations: 2.641 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9861, allocations: 9.062 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.9861, allocations: 0.7031 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.9861, allocations: 1.094 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.9861, allocations: 7.891 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.9861, allocations: 6.125 kB / 1.1 GB, free: 13.62 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.662e-05/0.9862, allocations: 187.5 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.9863, allocations: 120.7 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.9864, allocations: 112 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.917e-05/0.9864, allocations: 182 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-05/0.9865, allocations: 181.9 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.144e-05/0.9866, allocations: 182 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.9868, allocations: 413.1 kB / 1.101 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/0.9869, allocations: 106.2 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.9869, allocations: 107.2 kB / 1.101 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/0.987, allocations: 181.9 kB / 1.101 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.987, allocations: 177.6 kB / 1.102 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.004e-05/0.9871, allocations: 186.2 kB / 1.102 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.423e-05/0.9872, allocations: 178.9 kB / 1.102 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.9873, allocations: 313.9 kB / 1.102 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.9874, allocations: 188.7 kB / 1.102 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.9875, allocations: 183 kB / 1.103 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.9876, allocations: 102.5 kB / 1.103 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.9877, allocations: 181.8 kB / 1.103 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.9877, allocations: 106.7 kB / 1.103 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.876e-05/0.9878, allocations: 101 kB / 1.103 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9878, allocations: 0 / 1.103 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001163/0.9889, allocations: 276.6 kB / 1.103 GB, free: 9.98 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.001204/0.9902, allocations: 0.5254 MB / 1.104 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.9903, allocations: 43.2 kB / 1.104 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9903, allocations: 0 / 1.104 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.9903, allocations: 3.938 kB / 1.104 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.9907, allocations: 461.2 kB / 1.104 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.9911, allocations: 236.7 kB / 1.105 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.9913, allocations: 0.6816 MB / 1.105 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.9914, allocations: 4.844 kB / 1.105 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.9914, allocations: 9.969 kB / 1.105 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9914, allocations: 0 / 1.105 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of Templates: time 0.01176/1.003, allocations: 5.452 MB / 1.111 GB, free: 7.883 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/jenkins/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