Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_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_11_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.001537/0.001537, allocations: 111 kB / 15.99 MB, free: 6.348 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.001437/0.001437, allocations: 191.7 kB / 16.91 MB, free: 6.184 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.698/2.698, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.45 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3543, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002891/0.3573, allocations: 1.532 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3587, allocations: 0.9036 MB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.3588, allocations: 4 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.359, allocations: 43.77 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.3591, allocations: 19.84 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.3596, allocations: 174.9 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.3597, allocations: 59.67 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3597, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.3598, allocations: 15.88 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.3599, allocations: 19.86 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.3599, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3602, allocations: 151.8 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.3602, allocations: 3.984 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.3602, allocations: 19.88 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.3604, allocations: 80.09 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3604, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3604, allocations: 4 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3604, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 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.000414/0.3608, allocations: 367.2 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3609, allocations: 15.97 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.361, allocations: 80.12 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3612, allocations: 263.4 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/0.3613, allocations: 150.9 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.3614, allocations: 162.9 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.3615, allocations: 105.3 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.3615, allocations: 75.28 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.3616, allocations: 150.6 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.3617, allocations: 150.6 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.3617, allocations: 162.5 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.3621, allocations: 461.8 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.3622, allocations: 165.1 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.3622, allocations: 84.14 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.3623, allocations: 79.27 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.3623, allocations: 121.8 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 5.06e-06/0.3624, allocations: 3.984 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.787e-05/0.3624, allocations: 37.69 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.3625, allocations: 126.7 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3627, allocations: 135.9 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3627, allocations: 25.7 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.3628, allocations: 92.12 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.3628, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3628, allocations: 17.72 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.363, allocations: 314.8 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.363, allocations: 7.984 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.363, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.363, allocations: 16.8 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3631, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.3632, allocations: 41.64 kB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3632, allocations: 16.05 kB / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3632, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3632, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3632, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3633, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.3633, allocations: 15.84 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3633, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8419 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.0001162/0.3634, allocations: 186.8 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.3635, allocations: 116.9 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.3636, allocations: 116.8 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.799e-05/0.3637, allocations: 180.3 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.407e-05/0.3637, allocations: 180.2 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/0.3638, allocations: 176.4 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3641, allocations: 421.2 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.3641, allocations: 109 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.3642, allocations: 108.9 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/0.3643, allocations: 180.2 kB / 1.072 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/0.3644, allocations: 176.3 kB / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-05/0.3644, allocations: 180.2 kB / 1.072 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.098e-05/0.3645, allocations: 188.2 kB / 1.073 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3647, allocations: 307.7 kB / 1.073 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.3648, allocations: 189.9 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.3649, allocations: 188.2 kB / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.365, allocations: 101 kB / 1.073 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.3651, allocations: 188.2 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.3651, allocations: 101 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.879e-05/0.3652, allocations: 101.8 kB / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002654/0.3655, allocations: 35.98 kB / 1.074 GB, free: 4.773 MB / 0.8419 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.0003093/0.3658, allocations: 218.4 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3659, allocations: 37.7 kB / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3659, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-06/0.3659, allocations: 3.938 kB / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.3665, allocations: 465.6 kB / 1.074 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3668, allocations: 264.8 kB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3671, allocations: 0.6807 MB / 1.075 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.3672, allocations: 7.438 kB / 1.075 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3672, allocations: 0 / 1.075 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.003023/0.3702, allocations: 1.242 MB / 1.077 GB, free: 1.805 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches