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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001323/0.001323, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 184 kB / 16.92 MB, free: 6.684 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.938/2.938, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003796, allocations: 9.5 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001934/0.3628, allocations: 1.201 MB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3647, allocations: 0.9153 MB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3649, allocations: 4 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3652, allocations: 39.83 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.3653, allocations: 19.84 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.366, allocations: 170.2 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3661, allocations: 51.67 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/0.3662, allocations: 4 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.3663, allocations: 15.92 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.3664, allocations: 19.86 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3664, allocations: 4 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.3669, allocations: 143.8 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.3669, allocations: 11.97 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.367, allocations: 45.58 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3673, allocations: 76.09 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3673, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3673, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3673, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 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.0005615/0.3679, allocations: 363.3 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.3679, allocations: 11.97 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.368, allocations: 80.22 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3683, allocations: 267.4 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.3684, allocations: 154.9 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.3685, allocations: 154.9 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.3686, allocations: 113.2 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.3686, allocations: 79.28 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.3687, allocations: 154.6 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.3688, allocations: 150.6 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.3689, allocations: 150.6 kB / 1.064 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.3693, allocations: 469.9 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3695, allocations: 173.1 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.3695, allocations: 80.14 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.3696, allocations: 75.33 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.428e-05/0.3696, allocations: 113.8 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.364e-06/0.3696, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001081/0.3698, allocations: 33.61 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.3698, allocations: 130.7 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.37, allocations: 131.5 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3701, allocations: 25.7 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.3701, allocations: 96.08 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.3701, allocations: 0 / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3702, allocations: 13.72 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3703, allocations: 322.8 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.3703, allocations: 4 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.3704, allocations: 4 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.3704, allocations: 12.86 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3704, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000148/0.3706, allocations: 53.53 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3706, allocations: 4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.3706, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3707, allocations: 4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.3707, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3707, allocations: 8 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.3707, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3707, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 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.0001273/0.3709, allocations: 189.1 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.3709, allocations: 116.8 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.371, allocations: 104.9 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.441e-05/0.3711, allocations: 180.2 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.192e-05/0.3712, allocations: 188.2 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.695e-05/0.3712, allocations: 184.2 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3715, allocations: 413.2 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.735e-05/0.3715, allocations: 101 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.3716, allocations: 113 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.364e-05/0.3717, allocations: 184.2 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.3717, allocations: 192.2 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-05/0.3718, allocations: 176.3 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.79e-05/0.3719, allocations: 180.2 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.372, allocations: 311.8 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.3721, allocations: 193.9 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.3722, allocations: 176.3 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.3723, allocations: 108.9 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.3724, allocations: 180.3 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.3725, allocations: 105 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.3725, allocations: 104.7 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3725, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003132/0.3729, allocations: 39.94 kB / 1.069 GB, free: 10.92 MB / 0.8262 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.0003397/0.3732, allocations: 222.3 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.3733, allocations: 33.7 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3733, allocations: 0 / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.3733, allocations: 0 / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.3739, allocations: 0.538 MB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.3743, allocations: 281.3 kB / 1.07 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3746, allocations: 0.6848 MB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.3746, allocations: 11.44 kB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3746, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.003142/0.3777, allocations: 1.215 MB / 1.072 GB, free: 7.871 MB / 0.8262 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