Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 114.5 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.001076/0.001076, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.686, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002469/0.6885, allocations: 1.483 MB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.6898, allocations: 0.8974 MB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.6899, allocations: 0 / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.6901, allocations: 43.75 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.6902, allocations: 23.84 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.6907, allocations: 187 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.6908, allocations: 51.67 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.6909, allocations: 4 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.6909, allocations: 23.86 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.691, allocations: 15.88 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.691, allocations: 4 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.6914, allocations: 171.8 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.6914, allocations: 7.984 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.6914, allocations: 15.88 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.6916, allocations: 124.1 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6917, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6917, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6917, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 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.0003312/0.692, allocations: 379 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.6921, allocations: 12.03 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.6921, allocations: 88.11 kB / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.6924, allocations: 265.2 kB / 1.23 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.6924, allocations: 150.9 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.6925, allocations: 150.9 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.248e-05/0.6926, allocations: 113.3 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.6926, allocations: 79.27 kB / 1.231 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.6926, allocations: 154.6 kB / 1.231 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.6927, allocations: 150.6 kB / 1.231 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.6927, allocations: 154.5 kB / 1.231 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.693, allocations: 469.9 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/0.6931, allocations: 165.1 kB / 1.232 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.6931, allocations: 84.14 kB / 1.232 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.6932, allocations: 75.28 kB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.6932, allocations: 113.7 kB / 1.232 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.6932, allocations: 4 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.779e-05/0.6933, allocations: 37.64 kB / 1.232 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.6933, allocations: 55.39 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.6935, allocations: 131.9 kB / 1.232 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.6935, allocations: 25.7 kB / 1.232 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.6935, allocations: 96.03 kB / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.6935, allocations: 0 / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.6936, allocations: 17.72 kB / 1.232 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6937, allocations: 322.8 kB / 1.232 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.6937, allocations: 8 kB / 1.232 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.6937, allocations: 4 kB / 1.232 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.6938, allocations: 12.86 kB / 1.232 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6938, allocations: 0 / 1.232 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.6939, allocations: 49.62 kB / 1.233 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6939, allocations: 7.938 kB / 1.233 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.694, allocations: 3.984 kB / 1.233 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.694, allocations: 4 kB / 1.233 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.694, allocations: 0 / 1.233 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.694, allocations: 4.062 kB / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.694, allocations: 3.953 kB / 1.233 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.694, allocations: 0 / 1.233 GB, free: 6.883 MB / 0.9512 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 8.855e-05/0.6941, allocations: 193.1 kB / 1.233 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.6942, allocations: 112.8 kB / 1.233 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.6942, allocations: 108.9 kB / 1.233 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.6943, allocations: 180.3 kB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/0.6943, allocations: 116.9 kB / 1.233 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.6944, allocations: 178.1 kB / 1.233 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.6945, allocations: 180.3 kB / 1.234 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.6946, allocations: 108.9 kB / 1.234 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.6946, allocations: 180.2 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.705e-05/0.6947, allocations: 259.5 kB / 1.234 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001409/0.6949, allocations: 386.9 kB / 1.234 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.928e-05/0.6949, allocations: 105 kB / 1.235 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.695, allocations: 103.2 kB / 1.235 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/0.695, allocations: 0 / 1.235 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.6955, allocations: 168 kB / 1.235 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005848/0.6961, allocations: 0.9 MB / 1.236 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of Templates: time 0.003876/0.7, allocations: 1.533 MB / 1.237 GB, free: 1.977 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches